From 9746fae5778754e5d7611a39b6d00fc3435debc5 Mon Sep 17 00:00:00 2001 From: lassulus Date: Sun, 26 May 2019 12:25:59 +0200 Subject: [PATCH] build-support/writers: actually run checks --- pkgs/build-support/writers/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/build-support/writers/default.nix b/pkgs/build-support/writers/default.nix index 29a4bbad703e..ae7b42449fb3 100644 --- a/pkgs/build-support/writers/default.nix +++ b/pkgs/build-support/writers/default.nix @@ -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