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>
This commit is contained in:
aszlig 2018-03-01 05:34:42 +01:00
parent ae8c48c175
commit 810318a622
No known key found for this signature in database
GPG key ID: 684089CE67EBB691

View file

@ -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;