1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00

haskell-idris: override to add undeclared libgmp build input

This commit is contained in:
Peter Simons 2015-08-06 18:45:29 +02:00
parent 89ca308517
commit 50483ce100

View file

@ -49,9 +49,9 @@ self: super: {
# "idris" binary cannot find Idris library otherwise while building.
# After installing it's completely fine though.
# Seems like Nix-specific 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
librarySystemDepends = (drv.librarySystemDepends or []) ++ [pkgs.gmp];
});
in idris'.overrideScope (self: super: {
zlib = self.zlib_0_5_4_2;