summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2018-03-01 05:34:42 +0100
committeraszlig <aszlig@nix.build>2018-03-01 05:37:18 +0100
commit810318a622a3bd50d5756586bcd859cbfe13e724 (patch)
tree04739b9e2c7368547947b511ab1e78451c97c7bb /pkgs
parentae8c48c175207b3e247d781543af00dc431a3fb3 (diff)
downloadnixlib-810318a622a3bd50d5756586bcd859cbfe13e724.tar
nixlib-810318a622a3bd50d5756586bcd859cbfe13e724.tar.gz
nixlib-810318a622a3bd50d5756586bcd859cbfe13e724.tar.bz2
nixlib-810318a622a3bd50d5756586bcd859cbfe13e724.tar.lz
nixlib-810318a622a3bd50d5756586bcd859cbfe13e724.tar.xz
nixlib-810318a622a3bd50d5756586bcd859cbfe13e724.tar.zst
nixlib-810318a622a3bd50d5756586bcd859cbfe13e724.zip
redshift: Don't remove icon-theme.cache
This is done already in the setup hook of hicolor-icon-theme itself, so
no need to do it again.

Since the removal in the redshift derivation is in postFixup (as opposed
to the removal done by the setup hook in preFixup) and it's also not
using the -f flag of rm, the build fails.

Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/misc/redshift/default.nix6
1 files changed, 2 insertions, 4 deletions
diff --git a/pkgs/applications/misc/redshift/default.nix b/pkgs/applications/misc/redshift/default.nix
index 594886149c5f..b7ab092bbc04 100644
--- a/pkgs/applications/misc/redshift/default.nix
+++ b/pkgs/applications/misc/redshift/default.nix
@@ -42,10 +42,8 @@ stdenv.mkDerivation rec {
   pythonPath = [ pygobject3 pyxdg ];
 
   preConfigure = "./bootstrap";
-  postFixup = ''
-    wrapPythonPrograms
-    rm "$out/share/icons/hicolor/icon-theme.cache"
-  '';
+
+  postFixup = "wrapPythonPrograms";
 
   enableParallelBuilding = true;