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