diff options
Diffstat (limited to 'pkgs/build-support/cc-wrapper')
-rw-r--r-- | pkgs/build-support/cc-wrapper/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/cc-wrapper/default.nix b/pkgs/build-support/cc-wrapper/default.nix index a981ffea7081..301bc2694c4f 100644 --- a/pkgs/build-support/cc-wrapper/default.nix +++ b/pkgs/build-support/cc-wrapper/default.nix @@ -75,7 +75,7 @@ stdenv.mkDerivation { preferLocalBuild = true; inherit cc libc_bin libc_dev libc_lib bintools coreutils_bin; - shell = getBin shell + stdenv.lib.optionalString (stdenv ? shellPath) stdenv.shellPath; + shell = getBin shell + shell.shellPath or ""; gnugrep_bin = if nativeTools then "" else gnugrep; inherit targetPrefix infixSalt; |