Clean up changes to the Cabal builder, which needed to be done in an awkward fashion to avoid a complete re-build of all Haskell packages.

This commit is contained in:
Peter Simons 2012-09-11 16:53:48 +02:00
parent d5677fe6c7
commit 77a21eed08

View File

@ -86,8 +86,8 @@
configurePhase = ''
eval "$preConfigure"
${lib.optionalString (lib.attrByPath ["jailbreak"] false self) "${jailbreakCabal}/bin/jailbreak-cabal ${self.pname}.cabal && "
}for i in Setup.hs Setup.lhs; do
${lib.optionalString (lib.attrByPath ["jailbreak"] false self) "${jailbreakCabal}/bin/jailbreak-cabal ${self.pname}.cabal"}
for i in Setup.hs Setup.lhs; do
test -f $i && ghc --make $i
done