Remove caches from liferea, evince and network-manager-applet

This commit is contained in:
Tomasz Kontusz 2013-11-27 12:44:09 +01:00
parent 945bcfad30
commit f4d4e12ca6
3 changed files with 8 additions and 0 deletions

View File

@ -18,6 +18,9 @@ stdenv.mkDerivation rec {
libnotify libnotify
]; ];
preFixup = ''
rm $out/share/icons/hicolor/icon-theme.cache'';
meta = { meta = {
description = "A GTK-based news feed agregator"; description = "A GTK-based news feed agregator";
homepage = http://lzone.de/liferea/; homepage = http://lzone.de/liferea/;

View File

@ -22,6 +22,8 @@ stdenv.mkDerivation rec {
makeWrapper makeWrapper
]; ];
preFixup = "rm $out/share/icons/hicolor/icon-theme.cache";
configureFlags = [ configureFlags = [
"--disable-nautilus" # Do not use nautilus "--disable-nautilus" # Do not use nautilus
"--disable-dbus" # strange compilation error "--disable-dbus" # strange compilation error

View File

@ -33,6 +33,9 @@ stdenv.mkDerivation rec {
''CFLAGS=-DMOBILE_BROADBAND_PROVIDER_INFO=\"${mobile_broadband_provider_info}/share/mobile-broadband-provider-info/serviceproviders.xml\"'' ''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 = '' postInstall = ''
mkdir -p $out/etc/NetworkManager/VPN 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 ln -s ${networkmanager_openvpn}/etc/NetworkManager/VPN/nm-openvpn-service.name $out/etc/NetworkManager/VPN/nm-openvpn-service.name