diff options
author | Nikolay Amiantov <ab@fmap.me> | 2016-04-25 14:27:51 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2016-04-25 14:27:51 +0300 |
commit | 69a072484dd9ee04c68a3bf3ce5a1bdb111a9229 (patch) | |
tree | 16d2d62477933e530a5ad9546a7c6b14f4eab52d /pkgs/build-support/gcc-wrapper-old/default.nix | |
parent | daa8ba26c94fff99e963a8739311ccb2033eda1c (diff) | |
download | nixlib-69a072484dd9ee04c68a3bf3ce5a1bdb111a9229.tar nixlib-69a072484dd9ee04c68a3bf3ce5a1bdb111a9229.tar.gz nixlib-69a072484dd9ee04c68a3bf3ce5a1bdb111a9229.tar.bz2 nixlib-69a072484dd9ee04c68a3bf3ce5a1bdb111a9229.tar.lz nixlib-69a072484dd9ee04c68a3bf3ce5a1bdb111a9229.tar.xz nixlib-69a072484dd9ee04c68a3bf3ce5a1bdb111a9229.tar.zst nixlib-69a072484dd9ee04c68a3bf3ce5a1bdb111a9229.zip |
gcc-wrapper-old: fix binutils and coreutils' paths
Diffstat (limited to 'pkgs/build-support/gcc-wrapper-old/default.nix')
-rw-r--r-- | pkgs/build-support/gcc-wrapper-old/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/build-support/gcc-wrapper-old/default.nix b/pkgs/build-support/gcc-wrapper-old/default.nix index a7801e239e9c..a87c726e0a8b 100644 --- a/pkgs/build-support/gcc-wrapper-old/default.nix +++ b/pkgs/build-support/gcc-wrapper-old/default.nix @@ -45,9 +45,9 @@ stdenv.mkDerivation { libc = if nativeLibc then null else libc; libc_dev = if nativeLibc then null else lib.getDev libc; libc_bin = if nativeLibc then null else lib.getBin libc; - binutils = if nativeTools then null else binutils; + binutils = if nativeTools then null else lib.getBin binutils; # The wrapper scripts use 'cat', so we may need coreutils - coreutils = if nativeTools then null else coreutils; + coreutils = if nativeTools then null else lib.getBin coreutils; langC = if nativeTools then true else gcc.langC; langCC = if nativeTools then true else gcc.langCC; |