From 810318a622a3bd50d5756586bcd859cbfe13e724 Mon Sep 17 00:00:00 2001 From: aszlig Date: Thu, 1 Mar 2018 05:34:42 +0100 Subject: [PATCH] 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 --- pkgs/applications/misc/redshift/default.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/misc/redshift/default.nix b/pkgs/applications/misc/redshift/default.nix index 594886149c5..b7ab092bbc0 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;