diff options
author | Jan Malakhovski <oxij@oxij.org> | 2018-09-04 21:13:00 +0000 |
---|---|---|
committer | Jan Malakhovski <oxij@oxij.org> | 2018-09-04 22:05:02 +0000 |
commit | 409270826112d035934a6b7a0969aa47dac0bf35 (patch) | |
tree | dc2307f1bd7aead159984e9aac5633e3e11d5afb /pkgs/build-support/cc-wrapper | |
parent | 7931d455a469a3f5ac533f13f4f713ea8cb9c1cf (diff) |
treewide: cleanup some references to bash
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 a981ffea7081f..301bc2694c4fd 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; |