Skip to content

Commit 810318a

Browse files
committedMar 1, 2018
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>
1 parent ae8c48c commit 810318a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed
 

Diff for: ‎pkgs/applications/misc/redshift/default.nix

+2-4
Original file line numberDiff line numberDiff line change
@@ -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

0 commit comments

Comments
 (0)
Please sign in to comment.