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:
parent
1ad383fa7f
commit
cb593780f3
@ -68,7 +68,7 @@ rec {
|
|||||||
${text}
|
${text}
|
||||||
'';
|
'';
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
${stdenv.shell} -n $out
|
${stdenv.shell} -n $out/bin/${name}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user