git.iko.soy/typeable/nixpkgs
on master help sign in
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.

commit865293c5080abfb0031bd1602f21f48ef206c739 authorJan Tojnar <jtojnar@gmail.com> dateSat 24 Aug 2019, 14:39 (7 years ago) parentdfc6d58
1 file changed+2−1
pkgs/tools/X11/xdg-user-dirs/default.nix+2−1
pkgs/tools/X11/xdg-user-dirs/default.nix+2−1
@@ -11,8 +11,9 @@ stdenv.mkDerivation rec {
1111 buildInputs = [ libxslt docbook_xsl makeWrapper ];
1212
1313 preFixup = ''
14+ # fallback values need to be last
1415 wrapProgram "$out/bin/xdg-user-dirs-update" \
15− --prefix XDG_CONFIG_DIRS : "$out/etc/xdg"
16+ --suffix XDG_CONFIG_DIRS : "$out/etc/xdg"
1617 '';
1718
1819 meta = with stdenv.lib; {