mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
xorg.xinit: also use systemwide xinitrc (#186997)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
4581b1fc2e
commit
308abeb67b
@ -963,7 +963,9 @@ self: super:
|
||||
propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ xorg.xauth ]
|
||||
++ lib.optionals isDarwin [ xorg.libX11 xorg.xorgproto ];
|
||||
postFixup = ''
|
||||
substituteInPlace $out/bin/startx --replace $out/etc/X11/xinit/xserverrc /etc/X11/xinit/xserverrc
|
||||
substituteInPlace $out/bin/startx \
|
||||
--replace $out/etc/X11/xinit/xserverrc /etc/X11/xinit/xserverrc \
|
||||
--replace $out/etc/X11/xinit/xinitrc /etc/X11/xinit/xinitrc
|
||||
'';
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user