From d72538be8d4fbe0efea43e81d63216410417c322 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 15 Jun 2015 19:26:52 +0200 Subject: [PATCH] Don't include /no-such-path in buildInputs --- pkgs/stdenv/darwin/default.nix | 2 +- pkgs/stdenv/linux/default.nix | 2 +- pkgs/stdenv/native/default.nix | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/stdenv/darwin/default.nix b/pkgs/stdenv/darwin/default.nix index ac396ecdf12..98fc35074c2 100644 --- a/pkgs/stdenv/darwin/default.nix +++ b/pkgs/stdenv/darwin/default.nix @@ -31,7 +31,7 @@ rec { shell = "/bin/bash"; initialPath = [ bootstrapTools ]; fetchurlBoot = fetchurl; - cc = "/no-such-path"; + cc = null; }; }; diff --git a/pkgs/stdenv/linux/default.nix b/pkgs/stdenv/linux/default.nix index 1bcf74afa32..12fc3fed5a5 100644 --- a/pkgs/stdenv/linux/default.nix +++ b/pkgs/stdenv/linux/default.nix @@ -86,7 +86,7 @@ rec { }; cc = if isNull gccPlain - then "/no-such-path" + then null else lib.makeOverridable (import ../../build-support/cc-wrapper) { nativeTools = false; nativeLibc = false; diff --git a/pkgs/stdenv/native/default.nix b/pkgs/stdenv/native/default.nix index 5390907928d..bd90d580d3f 100644 --- a/pkgs/stdenv/native/default.nix +++ b/pkgs/stdenv/native/default.nix @@ -98,7 +98,7 @@ rec { stdenvBoot0 = makeStdenv { - cc = "/no-such-path"; + cc = null; fetchurl = null; };