audit: Remove usage of stdenv.lib

This commit is contained in:
Sandro Jäckel 2021-01-31 15:10:26 +01:00
parent 19d5413d37
commit 6dfb84d462
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -61,7 +61,7 @@ stdenv.mkDerivation rec {
# --whole-archive linker flag is required to be sure that linker
# correctly chooses strong version of symbol regardless of order of
# object files at command line.
+ stdenv.lib.optionalString stdenv.targetPlatform.isStatic ''
+ lib.optionalString stdenv.targetPlatform.isStatic ''
export LDFLAGS=-Wl,--whole-archive
'';
meta = {