Revert "Merge pull request #17145 from kalhauge/haskell_darwin_dyld"
This fix doesn't actually fix the cabal bug (see #16357), but it does cause other bugs (see #20476) Fixes #20476 This reverts commitb89fa5fd5c
, reversing changes made toe4b146b041
.
This commit is contained in:
parent
380bb207b6
commit
3995655d2c
@ -194,9 +194,6 @@ stdenv.mkDerivation ({
|
|||||||
fi
|
fi
|
||||||
if [ -d "$p/lib" ]; then
|
if [ -d "$p/lib" ]; then
|
||||||
configureFlags+=" --extra-lib-dirs=$p/lib"
|
configureFlags+=" --extra-lib-dirs=$p/lib"
|
||||||
${ stdenv.lib.optionalString stdenv.isDarwin
|
|
||||||
"export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:$p/lib"
|
|
||||||
}
|
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
${ghcCommand}-pkg --${packageDbFlag}="$packageConfDir" recache
|
${ghcCommand}-pkg --${packageDbFlag}="$packageConfDir" recache
|
||||||
|
Loading…
Reference in New Issue
Block a user