cc-wrapper: attempt to fix on darwin
This fixes evaluation at least. I'm unable to test this myself and noone steps up; https://github.com/NixOS/nixpkgs/pull/7701#issuecomment-174448705 however, Hydra's macs are idling so let's employ them for that.
This commit is contained in:
parent
21bebe1592
commit
a33fcc8731
@ -30,7 +30,7 @@ let
|
|||||||
libc_dev = if nativeLibc then null else libc.dev or libc;
|
libc_dev = if nativeLibc then null else libc.dev or libc;
|
||||||
libc_lib = if nativeLibc then null else libc.out or libc;
|
libc_lib = if nativeLibc then null else libc.out or libc;
|
||||||
cc_solib = cc.lib or cc;
|
cc_solib = cc.lib or cc;
|
||||||
binutils_bin = if nativeTools then null else binutils.bin or binutils;
|
binutils_bin = if nativeTools then "$binutils" else binutils.bin or binutils;
|
||||||
# The wrapper scripts use 'cat', so we may need coreutils.
|
# The wrapper scripts use 'cat', so we may need coreutils.
|
||||||
coreutils_bin = if nativeTools then null else coreutils.bin or coreutils;
|
coreutils_bin = if nativeTools then null else coreutils.bin or coreutils;
|
||||||
in
|
in
|
||||||
|
Loading…
Reference in New Issue
Block a user