From 69a072484dd9ee04c68a3bf3ce5a1bdb111a9229 Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Mon, 25 Apr 2016 14:27:51 +0300 Subject: [PATCH] gcc-wrapper-old: fix binutils and coreutils' paths --- pkgs/build-support/gcc-wrapper-old/default.nix | 4 ++-- 1 file 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 a7801e239e9..a87c726e0a8 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;