1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00

Make the implementation clean

This commit is contained in:
Christian Gram Kalhauge 2016-07-21 14:56:45 +02:00
parent 9bca29d4ef
commit 1a08805358

View file

@ -192,9 +192,9 @@ stdenv.mkDerivation ({
configureFlags+=" --extra-include-dirs=$p/include"
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;"
configureFlags+=" --extra-lib-dirs=$p/lib"
${ stdenv.lib.optionalString stdenv.isDarwin
"export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:$p/lib"
}
fi
done