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:
Vladimír Čunát
2017-01-22 22:55:39 +01:00
parent b1e9acfb18
commit df67f58fbf
2 changed files with 3 additions and 1 deletions

View File

@@ -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; {