Commit c5641595 authored by Ben Gamari's avatar Ben Gamari 🐢

build-cabal: Add support for WRAPPER

parent 096b5084
......@@ -6,5 +6,9 @@ dir=libraries/Cabal/Cabal
if [[ -z "$GHC" ]]; then
GHC="_build/stage1/bin/ghc"
fi
time $GHC -hidir $out -odir $out -i$dir -i$dir/src $dir/Setup.hs +RTS -s -RTS $@
if [[ -z "$WRAPPER" ]]; then
WRAPPER="time"
fi
$WRAPPER $GHC -hidir $out -odir $out -i$dir -i$dir/src $dir/Setup.hs +RTS -s -RTS $@
rm -R $out
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment