summary refs log tree commit diff
path: root/pkgs/build-support/cabal
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2014-04-17 11:25:21 +0200
committerPeter Simons <simons@cryp.to>2014-04-18 01:23:45 +0200
commita2a398fbda842594ab17d0b98f68dba4c51e49e8 (patch)
tree6b150a7849b5de92a1b0863fbf9fcc3f653528af /pkgs/build-support/cabal
parent7aa3790f34af75acfe38aebc662081f41bdf4744 (diff)
downloadnixpkgs-a2a398fbda842594ab17d0b98f68dba4c51e49e8.tar
nixpkgs-a2a398fbda842594ab17d0b98f68dba4c51e49e8.tar.gz
nixpkgs-a2a398fbda842594ab17d0b98f68dba4c51e49e8.tar.bz2
nixpkgs-a2a398fbda842594ab17d0b98f68dba4c51e49e8.tar.lz
nixpkgs-a2a398fbda842594ab17d0b98f68dba4c51e49e8.tar.xz
nixpkgs-a2a398fbda842594ab17d0b98f68dba4c51e49e8.tar.zst
nixpkgs-a2a398fbda842594ab17d0b98f68dba4c51e49e8.zip
pkgs/build-support/cabal: the release version of GHC 7.8.x no longer requires
the -rpath hack added in 63c60638fcc148a3f1d786216c434da723aeef3d and
edaa56041ceb3185d9c104ca72c457a5e7ae6e03 to produce dynamically linked
executables
Diffstat (limited to 'pkgs/build-support/cabal')
-rw-r--r--pkgs/build-support/cabal/default.nix4
1 files changed, 0 insertions, 4 deletions
diff --git a/pkgs/build-support/cabal/default.nix b/pkgs/build-support/cabal/default.nix
index 5e028863b06..ed7ca30db13 100644
--- a/pkgs/build-support/cabal/default.nix
+++ b/pkgs/build-support/cabal/default.nix
@@ -195,10 +195,6 @@ assert !enableStaticLibraries -> versionOlder "7.7" ghc.version;
                 done
               done
 
-              ${optionalString self.enableSharedExecutables ''
-                configureFlags+=" --ghc-option=-optl=-Wl,-rpath=$out/lib/${ghc.ghc.name}/${self.pname}-${self.version}";
-              ''}
-
               echo "configure flags: $extraConfigureFlags $configureFlags"
               ./Setup configure --verbose --prefix="$out" --libdir='$prefix/lib/$compiler' \
                 --libsubdir='$pkgid' $extraConfigureFlags $configureFlags 2>&1 \