diff options
Diffstat (limited to 'tests/GhcSession.hs')
-rw-r--r-- | tests/GhcSession.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/GhcSession.hs b/tests/GhcSession.hs index d05a0a3..a4e7d62 100644 --- a/tests/GhcSession.hs +++ b/tests/GhcSession.hs @@ -512,7 +512,7 @@ stackBuiltinCabalVersion s_ver g_ver = do res <- lookupStackResolver g_ver return $ parseVer . trim <$> readProcess (stackProgram ?progs) [ "--resolver="++res, "--system-ghc", "exec", "--" - , "ghc-pkg", "--simple-output", "field", "Cabal", "version" + , "ghc-pkg", "--simple-output", "--global", "field", "Cabal", "version" ] "" stackCheckCompat :: Version -> Either SkipReason () |