Merge pull request #62112 from Lassulus/writers-check

build-support/writers: actually run checks
This commit is contained in:
Silvan Mosberger 2019-05-28 12:07:22 +02:00 committed by GitHub
commit b4e16b6c30
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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