diff options
-rw-r--r-- | cabal-helper.cabal | 2 | ||||
-rw-r--r-- | src/CabalHelper/Compiletime/Program/Stack.hs | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/cabal-helper.cabal b/cabal-helper.cabal index 4c1965f..ede2124 100644 --- a/cabal-helper.cabal +++ b/cabal-helper.cabal @@ -112,7 +112,6 @@ common build-deps , filepath < 1.5 && >= 1.4.1.1 , mtl < 2.3 && >= 2.0 , process < 1.7 && >= 1.4.3.0 - , pretty-show < 1.9 && >= 1.8.1 , semigroups < 0.19 && >= 0.18 , semigroupoids < 5.4 && >= 5.2 , SHA < 1.7 && >= 1.6.4.4 @@ -186,6 +185,7 @@ test-suite ghc-session ghc-options: -Wall build-depends: ghc < 8.7 && >= 8.0.2 , ghc-paths < 0.2 && >= 0.1.0.9 + , pretty-show < 1.9 && >= 1.8.1 , cabal-helper , c-h-internal 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!\ |