summary refs log tree commit diff
path: root/pkgs/development/compilers/ghc/7.2.2.nix
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2015-06-12 10:54:02 +0200
committerPeter Simons <simons@cryp.to>2015-06-12 10:54:02 +0200
commit85ae0cb070628bcb98e63e6166fd6f52045f385a (patch)
treed88045acdbe080859dadae9fe59b149bfe07c6ff /pkgs/development/compilers/ghc/7.2.2.nix
parent33e70ad68a13efc14187a0657d447c26cf765cb7 (diff)
downloadnixlib-85ae0cb070628bcb98e63e6166fd6f52045f385a.tar
nixlib-85ae0cb070628bcb98e63e6166fd6f52045f385a.tar.gz
nixlib-85ae0cb070628bcb98e63e6166fd6f52045f385a.tar.bz2
nixlib-85ae0cb070628bcb98e63e6166fd6f52045f385a.tar.lz
nixlib-85ae0cb070628bcb98e63e6166fd6f52045f385a.tar.xz
nixlib-85ae0cb070628bcb98e63e6166fd6f52045f385a.tar.zst
nixlib-85ae0cb070628bcb98e63e6166fd6f52045f385a.zip
ghc: move gcc-clang-wrapper.sh script into the ghc directory tree since it's the only user of that script
Diffstat (limited to 'pkgs/development/compilers/ghc/7.2.2.nix')
-rw-r--r--pkgs/development/compilers/ghc/7.2.2.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/ghc/7.2.2.nix b/pkgs/development/compilers/ghc/7.2.2.nix
index 651cf200a8d0..7276f413967f 100644
--- a/pkgs/development/compilers/ghc/7.2.2.nix
+++ b/pkgs/development/compilers/ghc/7.2.2.nix
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
     export NIX_LDFLAGS+=" -no_dtrace_dof"
   '';
 
-  configureFlags = if stdenv.isDarwin then "--with-gcc=${../../haskell-modules/gcc-clang-wrapper.sh}"
+  configureFlags = if stdenv.isDarwin then "--with-gcc=${./gcc-clang-wrapper.sh}"
                                       else "--with-gcc=${stdenv.cc}/bin/gcc";
 
   NIX_CFLAGS_COMPILE = "-fomit-frame-pointer";