trivial-builders.nix: fix writeShellScriptBin

The check should be performed on the target shell script, not on the output directory.
This commit is contained in:
Nikita Uvarov 2017-10-06 10:55:36 +02:00 committed by GitHub
parent 1ad383fa7f
commit cb593780f3

View file

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