xinit: use the system xserverrc

Previously it'd try to use the one under its output path which is read-only of
course
wip/yesman
Atemu 4 years ago
parent e9158eca70
commit 338939d464
  1. 3
      pkgs/servers/x11/xorg/overrides.nix

@ -761,6 +761,9 @@ self: super:
prePatch = ''
sed -i 's|^defaultserverargs="|&-logfile \"$HOME/.xorg.log\"|p' startx.cpp
'';
postFixup = ''
substituteInPlace $out/bin/startx --replace $out/etc/X11/xinit/xserverrc /etc/X11/xinit/xserverrc
'';
});
xf86videointel = super.xf86videointel.overrideAttrs (attrs: {

Loading…
Cancel
Save