From f4d4e12ca648299b7db6891807ba5058313f3d64 Mon Sep 17 00:00:00 2001 From: Tomasz Kontusz <tomasz.kontusz@gmail.com> Date: Wed, 27 Nov 2013 12:44:09 +0100 Subject: [PATCH] Remove caches from liferea, evince and network-manager-applet --- pkgs/applications/networking/newsreaders/liferea/default.nix | 3 +++ pkgs/desktops/gnome-3/core/evince/default.nix | 2 ++ pkgs/tools/networking/network-manager-applet/default.nix | 3 +++ 3 files changed, 8 insertions(+) diff --git a/pkgs/applications/networking/newsreaders/liferea/default.nix b/pkgs/applications/networking/newsreaders/liferea/default.nix index 55e0ed88814..093b801401d 100644 --- a/pkgs/applications/networking/newsreaders/liferea/default.nix +++ b/pkgs/applications/networking/newsreaders/liferea/default.nix @@ -18,6 +18,9 @@ stdenv.mkDerivation rec { libnotify ]; + preFixup = '' + rm $out/share/icons/hicolor/icon-theme.cache''; + meta = { description = "A GTK-based news feed agregator"; homepage = http://lzone.de/liferea/; diff --git a/pkgs/desktops/gnome-3/core/evince/default.nix b/pkgs/desktops/gnome-3/core/evince/default.nix index a9fce636937..b4e2171dd38 100644 --- a/pkgs/desktops/gnome-3/core/evince/default.nix +++ b/pkgs/desktops/gnome-3/core/evince/default.nix @@ -22,6 +22,8 @@ stdenv.mkDerivation rec { makeWrapper ]; + preFixup = "rm $out/share/icons/hicolor/icon-theme.cache"; + configureFlags = [ "--disable-nautilus" # Do not use nautilus "--disable-dbus" # strange compilation error diff --git a/pkgs/tools/networking/network-manager-applet/default.nix b/pkgs/tools/networking/network-manager-applet/default.nix index a196c309197..4f72c0e294f 100644 --- a/pkgs/tools/networking/network-manager-applet/default.nix +++ b/pkgs/tools/networking/network-manager-applet/default.nix @@ -33,6 +33,9 @@ stdenv.mkDerivation rec { ''CFLAGS=-DMOBILE_BROADBAND_PROVIDER_INFO=\"${mobile_broadband_provider_info}/share/mobile-broadband-provider-info/serviceproviders.xml\"'' ]; + preFixup = '' + rm $out/share/glib-2.0/schemas/gschemas.compiled''; + postInstall = '' mkdir -p $out/etc/NetworkManager/VPN ln -s ${networkmanager_openvpn}/etc/NetworkManager/VPN/nm-openvpn-service.name $out/etc/NetworkManager/VPN/nm-openvpn-service.name