xdg-user-dirs: deprioritize shipped configs

XDG_CONFIG_DIRS should contain directories ordered by priority
so if we want users to be able to customize the defaults, we
need to move the shipped values to the end.
This commit is contained in:
Jan Tojnar 2019-08-24 14:39:02 +02:00
parent dfc6d580bc
commit 865293c508
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -11,8 +11,9 @@ stdenv.mkDerivation rec {
buildInputs = [ libxslt docbook_xsl makeWrapper ];
preFixup = ''
# fallback values need to be last
wrapProgram "$out/bin/xdg-user-dirs-update" \
--prefix XDG_CONFIG_DIRS : "$out/etc/xdg"
--suffix XDG_CONFIG_DIRS : "$out/etc/xdg"
'';
meta = with stdenv.lib; {