diff options
author | Daniel Gröber <dxld@darkboxed.org> | 2019-03-31 23:31:44 +0200 |
---|---|---|
committer | Daniel Gröber <dxld@darkboxed.org> | 2019-04-01 20:37:54 +0200 |
commit | e7ff295ff2f2ed1e7682bd1d33738e7b2b0b78fd (patch) | |
tree | b9f0fd8b74f61032ae7f27a542bae273a987ecde /src/CabalHelper/Compiletime/Program | |
parent | 2f9523feb2e108dcb731e08ec467ad06edecdd39 (diff) |
Make compilerVersion accessor project-scope for V1 projects
Diffstat (limited to 'src/CabalHelper/Compiletime/Program')
-rw-r--r-- | src/CabalHelper/Compiletime/Program/GHC.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CabalHelper/Compiletime/Program/GHC.hs b/src/CabalHelper/Compiletime/Program/GHC.hs index 644c6ec..547911f 100644 --- a/src/CabalHelper/Compiletime/Program/GHC.hs +++ b/src/CabalHelper/Compiletime/Program/GHC.hs @@ -112,7 +112,7 @@ listCabalVersions mdb = do True -> MaybeT $ logIOError "listCabalVersions" $ Just <$> do let mdbopt = ("--package-conf="++) <$> mdb_path args = ["list", "--simple-output", "Cabal"] ++ maybeToList mdbopt - catMaybes . map (fmap snd . parsePkgId . fromString) . words + catMaybes . map (fmap snd . parsePkgId) . words <$> readProcess' (ghcPkgProgram ?cprogs) args "" _ -> mzero |