3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #126057 from alyssais/netbsd-bintools

wrapBintoolsWith: fix final stage NetBSD
This commit is contained in:
John Ericson 2021-06-07 10:10:35 -04:00 committed by GitHub
commit 65c7bed5d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,7 +14,9 @@
if libc == null then
null
else if stdenvNoCC.targetPlatform.isNetBSD then
if libc != targetPackages.netbsdCross.headers then
if !(targetPackages ? netbsdCross) then
netbsd.ld_elf_so
else if libc != targetPackages.netbsdCross.headers then
targetPackages.netbsdCross.ld_elf_so
else
null