summary refs log tree commit diff
diff options
context:
space:
mode:
authorThomas Tuegel <ttuegel@gmail.com>2016-03-11 10:30:45 -0600
committerThomas Tuegel <ttuegel@gmail.com>2016-03-11 10:30:45 -0600
commit42b1e8ee580712b1f4d3f194b79b2099667e648e (patch)
tree678fd97bc43bbe7f054bee72506aee414a937386
parent2667e4f5d7b19df4b66c471bcc89aede579d8458 (diff)
downloadnixlib-42b1e8ee580712b1f4d3f194b79b2099667e648e.tar
nixlib-42b1e8ee580712b1f4d3f194b79b2099667e648e.tar.gz
nixlib-42b1e8ee580712b1f4d3f194b79b2099667e648e.tar.bz2
nixlib-42b1e8ee580712b1f4d3f194b79b2099667e648e.tar.lz
nixlib-42b1e8ee580712b1f4d3f194b79b2099667e648e.tar.xz
nixlib-42b1e8ee580712b1f4d3f194b79b2099667e648e.tar.zst
nixlib-42b1e8ee580712b1f4d3f194b79b2099667e648e.zip
ghc-6.10.2-binary: fix evaluation error on Darwin
-rw-r--r--pkgs/development/compilers/ghc/6.10.2-binary.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/ghc/6.10.2-binary.nix b/pkgs/development/compilers/ghc/6.10.2-binary.nix
index 5a3ddc97587e..b3208209b05b 100644
--- a/pkgs/development/compilers/ghc/6.10.2-binary.nix
+++ b/pkgs/development/compilers/ghc/6.10.2-binary.nix
@@ -47,7 +47,7 @@ stdenv.mkDerivation rec {
      '' else "");
 
   configurePhase = ''
-    ./configure --prefix=$out --with-gmp-libraries=${gmp.out}/lib --with-gmp-includes=${gmp.dev}/include
+    ./configure --prefix=$out --with-gmp-libraries=${gmp.out}/lib --with-gmp-includes=${gmp.dev or gmp}/include
   '';
 
   # Stripping combined with patchelf breaks the executables (they die