Merge pull request #111472 from SuperSandro2000/fix-eval-staging

audit: Remove usage of stdenv.lib
This commit is contained in:
Sandro 2021-01-31 15:31:34 +01:00 committed by GitHub
commit 8ac8a860b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 = {