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;