mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 15:41:48 +00:00
runit: disable uid check during install
This commit is contained in:
parent
13c8c847f4
commit
712d26d437
@ -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 New Issue
Block a user