diff options
author | Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> | 2016-06-01 23:01:24 +0300 |
---|---|---|
committer | Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> | 2016-06-11 04:15:17 +0300 |
commit | a06a405d0bf57699a8fb9976c6acae08641852cc (patch) | |
tree | c5f26e84a79e6482e6f306aacc719e577ae6bfe0 /pkgs/build-support/gcc-cross-wrapper/default.nix | |
parent | aaf008bda42e51c48c72d95f1e6dbd548c0b18c2 (diff) |
cross GCC: Fix some paths to libc headers (after multiple outputs)
It's not completely clear to me why the path to libc headers is set differently when cross building...
Diffstat (limited to 'pkgs/build-support/gcc-cross-wrapper/default.nix')
-rw-r--r-- | pkgs/build-support/gcc-cross-wrapper/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/build-support/gcc-cross-wrapper/default.nix b/pkgs/build-support/gcc-cross-wrapper/default.nix index fe2a530e1e8e9..505d80a6b2acc 100644 --- a/pkgs/build-support/gcc-cross-wrapper/default.nix +++ b/pkgs/build-support/gcc-cross-wrapper/default.nix @@ -46,6 +46,7 @@ stdenv.mkDerivation { addFlags = ./add-flags; inherit nativeTools nativeLibc nativePrefix gcc binutils; libc = if libc ? out then libc.out else libc; + libc_dev = if libc ? dev then libc.dev else libc; crossConfig = if cross != null then cross.config else null; osxMinVersion = cross.osxMinVersion or null; gccLibs = if gcc != null then gccLibs else null; |