Skip to content

Commit 712d26d

Browse files
committedJul 1, 2017
runit: disable uid check during install
1 parent 13c8c84 commit 712d26d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎pkgs/tools/system/runit/default.nix

+3
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ stdenv.mkDerivation rec {
2323

2424
postPatch = ''
2525
sed -i "s,\(#define RUNIT\) .*,\1 \"$out/bin/runit\"," src/runit.h
26+
# usernamespace sandbox of nix seems to conflict with runit's assumptions
27+
# about unix users. Therefor skip the check
28+
sed -i '/.\/chkshsgr/d' src/Makefile
2629
'' + stdenv.lib.optionalString (!static) ''
2730
sed -i 's,-static,,g' src/Makefile
2831
'';

0 commit comments

Comments
 (0)
Please sign in to comment.