mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 06:01:15 +00:00
transmission-gtk: fix gsettings schemas, closes #2295
This commit is contained in:
parent
3a9f28ee08
commit
4cfe7a7334
|
@ -27,10 +27,10 @@ stdenv.mkDerivation rec {
|
|||
configureFlags = [ "--with-systemd-daemon" ]
|
||||
++ 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"
|
||||
wrapProgram "$out/bin/transmission-gtk" \
|
||||
--prefix XDG_DATA_DIRS : "${gtk3}/share"
|
||||
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
|
Loading…
Reference in a new issue