aboutsummaryrefslogtreecommitdiff
path: root/CabalHelper
diff options
context:
space:
mode:
Diffstat (limited to 'CabalHelper')
-rw-r--r--CabalHelper/Compiletime/Wrapper.hs2
-rw-r--r--CabalHelper/Runtime/Main.hs2
2 files changed, 2 insertions, 2 deletions
diff --git a/CabalHelper/Compiletime/Wrapper.hs b/CabalHelper/Compiletime/Wrapper.hs
index 0efe8ae..6713944 100644
--- a/CabalHelper/Compiletime/Wrapper.hs
+++ b/CabalHelper/Compiletime/Wrapper.hs
@@ -112,7 +112,7 @@ guessProgramPaths opts = do
overrideVerbosityEnvVar :: Options -> IO Options
overrideVerbosityEnvVar opts = do
- x <- lookup "GHC_MOD_DEBUG" <$> getEnvironment
+ x <- lookup "CABAL_HELPER_DEBUG" <$> getEnvironment
return $ case x of
Just _ -> opts { verbose = True }
Nothing -> opts
diff --git a/CabalHelper/Runtime/Main.hs b/CabalHelper/Runtime/Main.hs
index c7f6652..8895069 100644
--- a/CabalHelper/Runtime/Main.hs
+++ b/CabalHelper/Runtime/Main.hs
@@ -183,7 +183,7 @@ main = do
[cfile] <- filter isCabalFile <$> getDirectoryContents projdir
- v <- maybe silent (const deafening) . lookup "GHC_MOD_DEBUG" <$> getEnvironment
+ v <- maybe silent (const deafening) . lookup "CABAL_HELPER_DEBUG" <$> getEnvironment
lbi <- unsafeInterleaveIO $ getPersistBuildConfig distdir
gpd <- unsafeInterleaveIO $ readPackageDescription v (projdir </> cfile)
let pd = localPkgDescr lbi