forked from mirrors/nixpkgs
gtk3: move gtk-update-icon-cache to the main output
This is basically what aa0fa19373
was for gtk2 and Xfce.
Fixes #20874, though I haven't tested it directly.
This commit is contained in:
parent
b1e9acfb18
commit
df67f58fbf
|
@ -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
|
||||
|
|
|
@ -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; {
|
||||
|
|
Loading…
Reference in a new issue