3
0
Fork 0
forked from mirrors/nixpkgs

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