diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2019-08-24 14:39:02 +0200 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2019-08-24 14:39:02 +0200 |
commit | 865293c5080abfb0031bd1602f21f48ef206c739 (patch) | |
tree | c0673a73064c55b0c08ea63ae725df889cab2666 /pkgs/tools/X11 | |
parent | dfc6d580bcc76f92a7ef2ab502a18ea4251594c2 (diff) | |
download | nixlib-865293c5080abfb0031bd1602f21f48ef206c739.tar nixlib-865293c5080abfb0031bd1602f21f48ef206c739.tar.gz nixlib-865293c5080abfb0031bd1602f21f48ef206c739.tar.bz2 nixlib-865293c5080abfb0031bd1602f21f48ef206c739.tar.lz nixlib-865293c5080abfb0031bd1602f21f48ef206c739.tar.xz nixlib-865293c5080abfb0031bd1602f21f48ef206c739.tar.zst nixlib-865293c5080abfb0031bd1602f21f48ef206c739.zip |
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.
Diffstat (limited to 'pkgs/tools/X11')
-rw-r--r-- | pkgs/tools/X11/xdg-user-dirs/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/tools/X11/xdg-user-dirs/default.nix b/pkgs/tools/X11/xdg-user-dirs/default.nix index c72fab015d9f..066b566be1fe 100644 --- a/pkgs/tools/X11/xdg-user-dirs/default.nix +++ b/pkgs/tools/X11/xdg-user-dirs/default.nix @@ -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; { |