Merge pull request #58977 from illegalprime/writeShellScriptBin-cross

writeShellScriptBin: use build-time shell in check phase

Changed files
+1 -1
pkgs
build-support
+1 -1
pkgs/build-support/trivial-builders.nix
···
${text}
'';
checkPhase = ''
-
${runtimeShell} -n $out/bin/${name}
+
${stdenv.shell} -n $out/bin/${name}
'';
};