diff options
-rw-r--r-- | pkgs/tools/system/runit/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/tools/system/runit/default.nix b/pkgs/tools/system/runit/default.nix index 03da7bc657f6..61c61226acd6 100644 --- a/pkgs/tools/system/runit/default.nix +++ b/pkgs/tools/system/runit/default.nix @@ -23,6 +23,9 @@ stdenv.mkDerivation rec { postPatch = '' sed -i "s,\(#define RUNIT\) .*,\1 \"$out/bin/runit\"," src/runit.h + # usernamespace sandbox of nix seems to conflict with runit's assumptions + # about unix users. Therefor skip the check + sed -i '/.\/chkshsgr/d' src/Makefile '' + stdenv.lib.optionalString (!static) '' sed -i 's,-static,,g' src/Makefile ''; |