aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Gröber <dxld@darkboxed.org>2019-08-21 03:32:42 +0200
committerDaniel Gröber (dxld) <dxld@darkboxed.org>2019-09-17 17:48:26 +0200
commit83fa1ceb414f51caa1e17f2e5ac3908b3f6c4107 (patch)
treef289f4cf035ecee7f56318d580744a4ed1cfd0e1 /src
parent56bb48210a0e0241216e0dcebee26ec479c73c5d (diff)
Remove pretty-show dependency
It's a bit heavy just for a single use-site for debugging.
Diffstat (limited to 'src')
-rw-r--r--src/CabalHelper/Compiletime/Program/Stack.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/CabalHelper/Compiletime/Program/Stack.hs b/src/CabalHelper/Compiletime/Program/Stack.hs
index 5c5f808..45f90ab 100644
--- a/src/CabalHelper/Compiletime/Program/Stack.hs
+++ b/src/CabalHelper/Compiletime/Program/Stack.hs
@@ -39,7 +39,6 @@ import System.Directory (findExecutable)
import System.FilePath hiding ((<.>))
import System.IO (hPutStrLn, stderr)
import Text.Printf (printf)
-import Text.Show.Pretty
import Prelude
import CabalHelper.Compiletime.Types
@@ -101,7 +100,7 @@ listPackageCabalFiles qe@QueryEnv{qeProjLoc=ProjLocStackYaml stack_yaml}
stack_ver <- MaybeT $ return $ parseVerMay stack_ver_str
guard $ stack_ver < makeVersion [1,9,4]
- let prog_cfg = ppShow $ qePrograms qe
+ let prog_cfg = show $ qePrograms qe
liftIO $ hPutStrLn stderr $ printf
"\nerror: stack version too old!\