Merge pull request #58977 from illegalprime/writeShellScriptBin-cross

writeShellScriptBin: use build-time shell in check phase
This commit is contained in:
Matthew Bauer 2019-04-04 14:40:16 -04:00 committed by GitHub
commit f718a12c26
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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