redshift, liferea: remove the extra cache file

They're not really useful and cause collisions in envs.
This commit is contained in:
Vladimír Čunát
2018-02-18 17:19:49 +01:00
parent dca3146945
commit 47f25fae44
2 changed files with 5 additions and 1 deletions
+4 -1
View File
@@ -41,7 +41,10 @@ stdenv.mkDerivation rec {
pythonPath = [ pygobject3 pyxdg ]; pythonPath = [ pygobject3 pyxdg ];
preConfigure = "./bootstrap"; preConfigure = "./bootstrap";
postFixup = "wrapPythonPrograms"; postFixup = ''
wrapPythonPrograms
rm "$out/share/icons/hicolor/icon-theme.cache"
'';
enableParallelBuilding = true; enableParallelBuilding = true;
@@ -28,6 +28,7 @@ in stdenv.mkDerivation rec {
pythonPath = with python3Packages; [ pygobject3 pycairo ]; pythonPath = with python3Packages; [ pygobject3 pycairo ];
preFixup = '' preFixup = ''
rm "$out/share/icons/hicolor/icon-theme.cache"
buildPythonPath "$out $pythonPath" buildPythonPath "$out $pythonPath"
gappsWrapperArgs+=(--prefix PYTHONPATH : "$program_PYTHONPATH") gappsWrapperArgs+=(--prefix PYTHONPATH : "$program_PYTHONPATH")
''; '';