mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
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:
parent
d5677fe6c7
commit
77a21eed08
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue