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

gtk2: move gtk-update-icon-cache to gtk2.out

... to be useful for regeneration when building nixos environments.
Fixes #18536 (hopefully).
This commit is contained in:
Vladimír Čunát 2016-09-13 23:51:25 +02:00
parent e0974c8948
commit aa0fa19373
3 changed files with 4 additions and 2 deletions

View file

@ -69,7 +69,7 @@ in
services.xserver.updateDbusEnvironment = true;
environment.systemPackages =
[ pkgs.gtk # To get GTK+'s themes.
[ pkgs.gtk.out # To get GTK+'s themes and gtk-update-icon-cache
pkgs.hicolor_icon_theme
pkgs.tango-icon-theme
pkgs.shared_mime_info

View file

@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
configureFlags = "--enable-png-creation";
postInstall = '''${gtk.dev}/bin/gtk-update-icon-cache' "$out/share/icons/Tango" '';
postInstall = '''${gtk.out}/bin/gtk-update-icon-cache' "$out/share/icons/Tango" '';
meta = {
description = "A basic set of icons";

View file

@ -44,6 +44,8 @@ stdenv.mkDerivation rec {
postInstall = ''
moveToOutput share/gtk-2.0/demo "$devdoc"
# The updater is needed for nixos env and it's tiny.
moveToOutput bin/gtk-update-icon-cache "$out"
'';
passthru = {