Pretty print expressions when using -v5 and just --parse

This commit is contained in:
John Wiegley 2018-05-06 22:13:44 -07:00
parent 2457efdaa3
commit 1a376598a6
No known key found for this signature in database
GPG key ID: C144D8F4F19FE630

View file

@ -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