writeShellScriptBin: use build-time shell in check phase

wip/yesman
Michael Eden 5 years ago
parent 10c53e25df
commit 53b0027fb4
  1. 2
      pkgs/build-support/trivial-builders.nix

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

Loading…
Cancel
Save