build-support/writers: actually run checks

This commit is contained in:
lassulus 2019-05-26 12:25:59 +02:00
parent c689671345
commit 9746fae577

View File

@ -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