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>
commit810318a622a3bd50d5756586bcd859cbfe13e724
authoraszlig <aszlig@nix.build>
dateThu 1 Mar 2018, 05:34 (9 years ago)
parentae8c48c
pkgs/applications/misc/redshift/default.nix+2−4
@@ -42,10 +42,8 @@ stdenv.mkDerivation rec {
4242 pythonPath = [ pygobject3 pyxdg ];
4343
4444 preConfigure = "./bootstrap";
45− postFixup = ''
46− wrapPythonPrograms
47− rm "$out/share/icons/hicolor/icon-theme.cache"
48− '';
45+
46+ postFixup = "wrapPythonPrograms";
4947
5048 enableParallelBuilding = true;
5149