Pass in extra build arguments for build tools

This commit is contained in:
Michael Snoyman 2012-12-05 15:51:45 +02:00
parent 3199abe456
commit 5bf95a2f95

View File

@ -96,7 +96,11 @@ build settings' = do
: ("--cabal-lib-version=" ++ libVersion)
: "--build-log=logs-tools/$pkg.log"
: "-j"
: iiBuildTools ii
: concat
[ extraBuildArgs settings
, extraArgs settings
, iiBuildTools ii
]
hPutStrLn handle ("cabal " ++ unwords (map (\s -> "'" ++ s ++ "'") args))
runCabal args handle
ec1 <- waitForProcess ph1