diff options
author | Peter Simons <simons@cryp.to> | 2015-08-06 18:45:29 +0200 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2015-08-07 15:13:15 +0200 |
commit | 50483ce1009e3d2f0dac3ec28409889ecfe48713 (patch) | |
tree | 1d85b36e35fb02aa9482230c4fbf3a70100725c0 /pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix | |
parent | 89ca308517d32dfa882ccbe43f765ac97885ec39 (diff) | |
download | nixpkgs-50483ce1009e3d2f0dac3ec28409889ecfe48713.tar nixpkgs-50483ce1009e3d2f0dac3ec28409889ecfe48713.tar.gz nixpkgs-50483ce1009e3d2f0dac3ec28409889ecfe48713.tar.bz2 nixpkgs-50483ce1009e3d2f0dac3ec28409889ecfe48713.tar.lz nixpkgs-50483ce1009e3d2f0dac3ec28409889ecfe48713.tar.xz nixpkgs-50483ce1009e3d2f0dac3ec28409889ecfe48713.tar.zst nixpkgs-50483ce1009e3d2f0dac3ec28409889ecfe48713.zip |
haskell-idris: override to add undeclared libgmp build input
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix b/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix index 4039de13f78..903e92e770a 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix @@ -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; |