Skip to content

Commit 47f25fa

Browse files
committedFeb 18, 2018
redshift, liferea: remove the extra cache file
They're not really useful and cause collisions in envs.
1 parent dca3146 commit 47f25fa

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed
 

‎pkgs/applications/misc/redshift/default.nix

+4-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,10 @@ stdenv.mkDerivation rec {
4141
pythonPath = [ pygobject3 pyxdg ];
4242

4343
preConfigure = "./bootstrap";
44-
postFixup = "wrapPythonPrograms";
44+
postFixup = ''
45+
wrapPythonPrograms
46+
rm "$out/share/icons/hicolor/icon-theme.cache"
47+
'';
4548

4649
enableParallelBuilding = true;
4750

‎pkgs/applications/networking/newsreaders/liferea/default.nix

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ in stdenv.mkDerivation rec {
2828
pythonPath = with python3Packages; [ pygobject3 pycairo ];
2929

3030
preFixup = ''
31+
rm "$out/share/icons/hicolor/icon-theme.cache"
3132
buildPythonPath "$out $pythonPath"
3233
gappsWrapperArgs+=(--prefix PYTHONPATH : "$program_PYTHONPATH")
3334
'';

3 commit comments

Comments
 (3)

abbradar commented on Feb 19, 2018

@abbradar
Member

FWIW hicolor_icon_theme has a setup hook which does this automatically.

vcunat commented on Feb 19, 2018

@vcunat
MemberAuthor

Yes, I know, but it seemed strange to add dependency on the theme only to get the hook :-)

abbradar commented on Feb 19, 2018

@abbradar
Member

Yeah, I checked the theme's setup hook and it seems it doesn't do much else useful -- it was a kneejerk autoreconfTool-like reaction ^_^"

Please sign in to comment.