Merge pull request #138290 from sternenseemann/bintools-check-to-wrap
bintools-wrapper: check if bintools to wrap isGNU, not stdenv
This commit is contained in:
commit
8730fcbd45
@ -327,7 +327,7 @@ stdenv.mkDerivation {
|
||||
###
|
||||
### Remove LC_UUID
|
||||
###
|
||||
+ optionalString (stdenv.targetPlatform.isDarwin && !(stdenv.cc.bintools.bintools.isGNU or false)) ''
|
||||
+ optionalString (stdenv.targetPlatform.isDarwin && !(bintools.isGNU or false)) ''
|
||||
echo "-no_uuid" >> $out/nix-support/libc-ldflags-before
|
||||
''
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user