Pretty print expressions when using -v5 and just --parse
This commit is contained in:
parent
2457efdaa3
commit
1a376598a6
|
@ -116,7 +116,7 @@ main = do
|
|||
A.encodeToLazyText (stripAnnotation expr)
|
||||
|
||||
| verbose opts >= DebugInfo =
|
||||
liftIO $ print $ stripAnnotation expr
|
||||
liftIO $ putStr $ PS.ppShow $ stripAnnotation expr
|
||||
|
||||
| cache opts, Just path <- mpath =
|
||||
liftIO $ writeCache (addExtension (dropExtension path) "nixc") expr
|
||||
|
|
Loading…
Reference in a new issue