3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #5663 from ryantrinkle/fix-cabal-js

Use Cabal_1_22_0_0 instead of Cabal_HEAD in cabalJs
This commit is contained in:
Peter Simons 2015-01-09 15:33:03 +01:00
commit 4cf52df32e

View file

@ -81,7 +81,7 @@ in
# default buildInputs are just ghc, if more buildInputs are required
# buildInputs can be extended by the client by using extraBuildInputs,
# but often propagatedBuildInputs is preferable anyway
buildInputs = [ghc ghc.ghc.parent.Cabal_HEAD] ++ self.extraBuildInputs;
buildInputs = [ghc ghc.ghc.parent.Cabal_1_22_0_0] ++ self.extraBuildInputs;
extraBuildInputs = self.buildTools ++
(optionals self.doCheck self.testDepends) ++
(if self.pkgconfigDepends == [] then [] else [pkgconfig]) ++