3
0
Fork 0
forked from mirrors/nixpkgs

writeShellScriptBin: use build-time shell in check phase

(cherry picked from commit 53b0027fb4)
This commit is contained in:
Michael Eden 2019-04-04 13:31:51 -04:00 committed by Samuel Dionne-Riel
parent 0b8977564d
commit 53980bc3f2

View file

@ -149,7 +149,7 @@ rec {
${text}
'';
checkPhase = ''
${runtimeShell} -n $out/bin/${name}
${stdenv.shell} -n $out/bin/${name}
'';
};