summaryrefslogtreecommitdiff
path: root/compiler/GHC.hs
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2022-03-28 15:27:21 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-04-27 10:04:19 -0400
commitba3d4e1c43e6772f11f9a7105ef4bf3be8efb2df (patch)
treed40c961279acfea45f007390c04b3462f4757c4e /compiler/GHC.hs
parent8bef471aaaf3cf40d68786f06b2b9f65d3d851e7 (diff)
downloadhaskell-ba3d4e1c43e6772f11f9a7105ef4bf3be8efb2df.tar.gz
Basic response file support
Here we introduce support into our command-line parsing infrastructure and driver for handling gnu-style response file arguments, typically used to work around platform command-line length limitations. Fixes #16476.
Diffstat (limited to 'compiler/GHC.hs')
-rw-r--r--compiler/GHC.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC.hs b/compiler/GHC.hs
index b573f2769e..d3e9d3978d 100644
--- a/compiler/GHC.hs
+++ b/compiler/GHC.hs
@@ -1900,7 +1900,7 @@ interpretPackageEnv logger dflags = do
Just envfile -> do
content <- readFile envfile
compilationProgressMsg logger (text "Loaded package environment from " <> text envfile)
- let (_, dflags') = runCmdLine (runEwM (setFlagsFromEnvFile envfile content)) dflags
+ let (_, dflags') = runCmdLineP (runEwM (setFlagsFromEnvFile envfile content)) dflags
return dflags'
where