on master help sign in
Pass in extra build arguments for build tools
5bf95a2Michael Snoyman
Stackage/Build.hs+5−1
@@ -96,7 +96,11 @@ build settings' = do
96 : ("--cabal-lib-version=" ++ libVersion)
96 : ("--cabal-lib-version=" ++ libVersion)
97 : "--build-log=logs-tools/$pkg.log"
97 : "--build-log=logs-tools/$pkg.log"
98 : "-j"
98 : "-j"
99+ : concat
100+ [ extraBuildArgs settings
101+ , extraArgs settings
99− : iiBuildTools ii
102+ , iiBuildTools ii
103+ ]
100 hPutStrLn handle ("cabal " ++ unwords (map (\s -> "'" ++ s ++ "'") args))
104 hPutStrLn handle ("cabal " ++ unwords (map (\s -> "'" ++ s ++ "'") args))
101 runCabal args handle
105 runCabal args handle
102 ec1 <- waitForProcess ph1
106 ec1 <- waitForProcess ph1