From 83fa1ceb414f51caa1e17f2e5ac3908b3f6c4107 Mon Sep 17 00:00:00 2001 From: Daniel Gröber Date: Wed, 21 Aug 2019 03:32:42 +0200 Subject: Remove pretty-show dependency It's a bit heavy just for a single use-site for debugging. --- src/CabalHelper/Compiletime/Program/Stack.hs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') 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!\ -- cgit v1.2.3