summary refs log tree commit diff
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2018-02-18 17:16:49 +0100
committerVladimír Čunát <vcunat@gmail.com>2018-02-18 17:19:49 +0100
commit47f25fae446e51d5229fe0386231d7446963b6cb (patch)
tree740c6eeee3efaa957de401de9101828c14f74d99
parentdca3146945931fbd5cae1dda194846e0d3aa4c24 (diff)
downloadnixpkgs-47f25fae446e51d5229fe0386231d7446963b6cb.tar
nixpkgs-47f25fae446e51d5229fe0386231d7446963b6cb.tar.gz
nixpkgs-47f25fae446e51d5229fe0386231d7446963b6cb.tar.bz2
nixpkgs-47f25fae446e51d5229fe0386231d7446963b6cb.tar.lz
nixpkgs-47f25fae446e51d5229fe0386231d7446963b6cb.tar.xz
nixpkgs-47f25fae446e51d5229fe0386231d7446963b6cb.tar.zst
nixpkgs-47f25fae446e51d5229fe0386231d7446963b6cb.zip
redshift, liferea: remove the extra cache file
They're not really useful and cause collisions in envs.
-rw-r--r--pkgs/applications/misc/redshift/default.nix5
-rw-r--r--pkgs/applications/networking/newsreaders/liferea/default.nix1
2 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/applications/misc/redshift/default.nix b/pkgs/applications/misc/redshift/default.nix
index 9871c559523..c0e481ae878 100644
--- a/pkgs/applications/misc/redshift/default.nix
+++ b/pkgs/applications/misc/redshift/default.nix
@@ -41,7 +41,10 @@ stdenv.mkDerivation rec {
   pythonPath = [ pygobject3 pyxdg ];
 
   preConfigure = "./bootstrap";
-  postFixup = "wrapPythonPrograms";
+  postFixup = ''
+    wrapPythonPrograms
+    rm "$out/share/icons/hicolor/icon-theme.cache"
+  '';
 
   enableParallelBuilding = true;
 
diff --git a/pkgs/applications/networking/newsreaders/liferea/default.nix b/pkgs/applications/networking/newsreaders/liferea/default.nix
index 743da795806..ed6fe17cc7e 100644
--- a/pkgs/applications/networking/newsreaders/liferea/default.nix
+++ b/pkgs/applications/networking/newsreaders/liferea/default.nix
@@ -28,6 +28,7 @@ in stdenv.mkDerivation rec {
   pythonPath = with python3Packages; [ pygobject3 pycairo ];
 
   preFixup = ''
+    rm "$out/share/icons/hicolor/icon-theme.cache"
     buildPythonPath "$out $pythonPath"
     gappsWrapperArgs+=(--prefix PYTHONPATH : "$program_PYTHONPATH")
   '';