From df67f58fbfde8bfe5f1e6659c18b0953558cd534 Mon Sep 17 00:00:00 2001 From: Vladimír Čunát Date: Sun, 22 Jan 2017 22:55:39 +0100 Subject: gtk3: move gtk-update-icon-cache to the main output This is basically what aa0fa193734a was for gtk2 and Xfce. Fixes #20874, though I haven't tested it directly. --- pkgs/development/libraries/gtk+/3.x.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkgs/development/libraries/gtk+/3.x.nix') diff --git a/pkgs/development/libraries/gtk+/3.x.nix b/pkgs/development/libraries/gtk+/3.x.nix index 64f5a1e3bdd..45c21df4696 100644 --- a/pkgs/development/libraries/gtk+/3.x.nix +++ b/pkgs/development/libraries/gtk+/3.x.nix @@ -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; { -- cgit 1.4.1