1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 14:11:36 +00:00

transmission-gtk: fix gsettings schemas, closes #2295

This commit is contained in:
Luca Bruno 2014-04-17 10:11:15 +02:00
parent 3a9f28ee08
commit 4cfe7a7334

View file

@ -27,10 +27,10 @@ stdenv.mkDerivation rec {
configureFlags = [ "--with-systemd-daemon" ] configureFlags = [ "--with-systemd-daemon" ]
++ optional enableGTK3 "--with-gtk"; ++ optional enableGTK3 "--with-gtk";
postInstall = optionalString enableGTK3 /* gsettings schemas for file dialogues */ '' preFixup = optionalString enableGTK3 /* gsettings schemas for file dialogues */ ''
rm "$out/share/icons/hicolor/icon-theme.cache" rm "$out/share/icons/hicolor/icon-theme.cache"
wrapProgram "$out/bin/transmission-gtk" \ wrapProgram "$out/bin/transmission-gtk" \
--prefix XDG_DATA_DIRS : "${gtk3}/share" --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {