mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
cc-wrapper: Use getExe
for expand-response-params
The binary in `expand-response-params` may have an extension like `.exe` `expand-response-params` is `""` in bootstrapping
This commit is contained in:
parent
e09e0b5a3c
commit
e791a35b58
@ -733,7 +733,7 @@ stdenvNoCC.mkDerivation {
|
|||||||
|
|
||||||
# for substitution in utils.bash
|
# for substitution in utils.bash
|
||||||
# TODO(@sternenseemann): invent something cleaner than passing in "" in case of absence
|
# TODO(@sternenseemann): invent something cleaner than passing in "" in case of absence
|
||||||
expandResponseParams = "${expand-response-params}/bin/expand-response-params";
|
expandResponseParams = lib.optionalString (expand-response-params != "") (lib.getExe expand-response-params);
|
||||||
# TODO(@sternenseemann): rename env var via stdenv rebuild
|
# TODO(@sternenseemann): rename env var via stdenv rebuild
|
||||||
shell = getBin runtimeShell + runtimeShell.shellPath or "";
|
shell = getBin runtimeShell + runtimeShell.shellPath or "";
|
||||||
gnugrep_bin = optionalString (!nativeTools) gnugrep;
|
gnugrep_bin = optionalString (!nativeTools) gnugrep;
|
||||||
|
Loading…
Reference in New Issue
Block a user