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:
parent
9bca29d4ef
commit
1a08805358
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue