build-support/writers: actually run checks

This commit is contained in:
lassulus
2019-05-28 07:51:46 +02:00
parent c689671345
commit 9746fae577
+3
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