diff options
-rw-r--r-- | pkgs/build-support/writers/default.nix | 3 | ||||
-rw-r--r-- | pkgs/servers/uwsgi/default.nix | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/build-support/writers/default.nix b/pkgs/build-support/writers/default.nix index 29a4bbad703..ae7b42449fb 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 diff --git a/pkgs/servers/uwsgi/default.nix b/pkgs/servers/uwsgi/default.nix index 1deba4e12af..1e846487472 100644 --- a/pkgs/servers/uwsgi/default.nix +++ b/pkgs/servers/uwsgi/default.nix @@ -96,6 +96,6 @@ stdenv.mkDerivation rec { description = "A fast, self-healing and developer/sysadmin-friendly application container server coded in pure C"; license = licenses.gpl2; maintainers = with maintainers; [ abbradar schneefux ]; - platforms = platforms.linux; + platforms = platforms.unix; }; } |