about summary refs log tree commit diff
path: root/pkgs/applications/misc/redshift
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/applications/misc/redshift
parentae8c48c175207b3e247d781543af00dc431a3fb3 (diff)
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/applications/misc/redshift')
-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 594886149c5f9..b7ab092bbc040 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;