diff --git a/pkgs/development/haskell-modules/generic-builder.nix b/pkgs/development/haskell-modules/generic-builder.nix index 478cc7e4fcc..16855842464 100644 --- a/pkgs/development/haskell-modules/generic-builder.nix +++ b/pkgs/development/haskell-modules/generic-builder.nix @@ -207,9 +207,6 @@ stdenv.mkDerivation ({ fi if [ -d "$p/lib" ]; then configureFlags+=" --extra-lib-dirs=$p/lib" - ${ stdenv.lib.optionalString stdenv.isDarwin - "export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:$p/lib" - } fi done ${ghcCommand}-pkg --${packageDbFlag}="$packageConfDir" recache