cc-wrapper: Use getExe for expand-response-params (#341607)

This commit is contained in:
Artturin 2024-10-13 21:05:11 +03:00 committed by GitHub
commit af98420eb3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -739,7 +739,7 @@ stdenvNoCC.mkDerivation {
# for substitution in utils.bash
# 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
shell = getBin runtimeShell + runtimeShell.shellPath or "";
gnugrep_bin = optionalString (!nativeTools) gnugrep;