xdg-user-dirs: fix finding default directory names

This commit is contained in:
Luca Bruno 2014-04-19 00:42:07 +02:00
parent 8846019fca
commit b01a49c14d

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, libxslt, docbook_xsl }:
{ stdenv, fetchurl, libxslt, docbook_xsl, makeWrapper }:
stdenv.mkDerivation rec {
name = "xdg-user-dirs-0.15";
@ -8,7 +8,12 @@ stdenv.mkDerivation rec {
sha256 = "20b4a751f41d0554bce3e0ce5e8d934be98cc62d48f0b90a894c3e1916552786";
};
buildInputs = [ libxslt docbook_xsl ];
buildInputs = [ libxslt docbook_xsl makeWrapper ];
preFixup = ''
wrapProgram "$out/bin/xdg-user-dirs-update" \
--prefix XDG_CONFIG_DIRS : "$out/etc/xdg"
'';
meta = with stdenv.lib; {
homepage = http://freedesktop.org/wiki/Software/xdg-user-dirs;