haskell-idris: add missing libgmp build input

This commit is contained in:
Peter Simons 2015-08-06 18:53:19 +02:00
parent 50483ce100
commit 60d5d37f2a

View File

@ -47,13 +47,14 @@ self: super: {
idris = idris =
let idris' = overrideCabal super.idris (drv: { let idris' = overrideCabal super.idris (drv: {
# "idris" binary cannot find Idris library otherwise while building. # "idris" binary cannot find Idris library otherwise while building.
# After installing it's completely fine though. # After installing it's completely fine though. Seems like Nix-specific
# Seems like Nix-specific issue so not reported. # issue so not reported.
preBuild = "export LD_LIBRARY_PATH=$PWD/dist/build:$LD_LIBRARY_PATH"; preBuild = "export LD_LIBRARY_PATH=$PWD/dist/build:$LD_LIBRARY_PATH";
# add missing libgmp build input # https://github.com/idris-lang/Idris-dev/issues/2499
librarySystemDepends = (drv.librarySystemDepends or []) ++ [pkgs.gmp]; librarySystemDepends = (drv.librarySystemDepends or []) ++ [pkgs.gmp];
}); });
in idris'.overrideScope (self: super: { in idris'.overrideScope (self: super: {
# https://github.com/idris-lang/Idris-dev/issues/2500
zlib = self.zlib_0_5_4_2; zlib = self.zlib_0_5_4_2;
}); });