runit: disable uid check during install
This commit is contained in:
parent
13c8c847f4
commit
712d26d437
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue