mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 22:32:58 +03:00
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:
parent
dfc6d580bc
commit
865293c508
@ -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; {
|
||||
|
Loading…
Reference in New Issue
Block a user