forked from mirrors/nixpkgs
build-support/writers: actually run checks
This commit is contained in:
parent
c689671345
commit
9746fae577
|
@ -24,6 +24,9 @@ rec {
|
|||
}) ''
|
||||
echo "#! $interpreter" > $out
|
||||
cat "$contentPath" >> $out
|
||||
${optionalString (check != "") ''
|
||||
${check} $out
|
||||
''}
|
||||
chmod +x $out
|
||||
${optionalString (types.path.check nameOrPath) ''
|
||||
mv $out tmp
|
||||
|
|
Loading…
Reference in a new issue