mirror of
https://github.com/commercialhaskell/stackage.git
synced 2026-01-22 20:21:57 +01:00
Pass in extra build arguments for build tools
This commit is contained in:
parent
3199abe456
commit
5bf95a2f95
@ -96,7 +96,11 @@ build settings' = do
|
|||||||
: ("--cabal-lib-version=" ++ libVersion)
|
: ("--cabal-lib-version=" ++ libVersion)
|
||||||
: "--build-log=logs-tools/$pkg.log"
|
: "--build-log=logs-tools/$pkg.log"
|
||||||
: "-j"
|
: "-j"
|
||||||
: iiBuildTools ii
|
: concat
|
||||||
|
[ extraBuildArgs settings
|
||||||
|
, extraArgs settings
|
||||||
|
, iiBuildTools ii
|
||||||
|
]
|
||||||
hPutStrLn handle ("cabal " ++ unwords (map (\s -> "'" ++ s ++ "'") args))
|
hPutStrLn handle ("cabal " ++ unwords (map (\s -> "'" ++ s ++ "'") args))
|
||||||
runCabal args handle
|
runCabal args handle
|
||||||
ec1 <- waitForProcess ph1
|
ec1 <- waitForProcess ph1
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user