xinit: use the system xserverrc

Previously it'd try to use the one under its output path which is read-only of
course
This commit is contained in:
Atemu 2020-02-15 20:05:02 +01:00
parent e9158eca70
commit 338939d464

View file

@ -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: {