Skip to content

Commit

Permalink
gtk3: move gtk-update-icon-cache to the main output
Browse files Browse the repository at this point in the history
This is basically what aa0fa19 was for gtk2 and Xfce.
Fixes #20874, though I haven't tested it directly.
  • Loading branch information
vcunat committed Jan 22, 2017
1 parent b1e9acf commit df67f58
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/desktops/gnome-3/3.22/default.nix
Expand Up @@ -20,7 +20,7 @@ let
pkgs.desktop_file_utils pkgs.ibus
pkgs.shared_mime_info # for update-mime-database
glib # for gsettings
gtk3 # for gtk-update-icon-cache
gtk3.out # for gtk-update-icon-cache
glib_networking gvfs dconf gnome-backgrounds gnome_control_center
gnome-menus gnome_settings_daemon gnome_shell
gnome_themes_standard defaultIconTheme gnome-shell-extensions
Expand Down
2 changes: 2 additions & 0 deletions pkgs/development/libraries/gtk+/3.x.nix
Expand Up @@ -63,6 +63,8 @@ stdenv.mkDerivation rec {
postInstall = optionalString (!stdenv.isDarwin) ''
substituteInPlace "$out/lib/gtk-3.0/3.0.0/printbackends/libprintbackend-cups.la" \
--replace '-L${gmp.dev}/lib' '-L${gmp.out}/lib'
# The updater is needed for nixos env and it's tiny.
moveToOutput bin/gtk-update-icon-cache "$out"
'';

meta = with stdenv.lib; {
Expand Down

0 comments on commit df67f58

Please sign in to comment.