caffeine-ng: fix paths in desktop files

(#73123)
gstqt5
symphorien 2019-11-11 22:37:58 +00:00 committed by Renaud
parent f6a91dd7e5
commit 40f1983f95
1 changed files with 6 additions and 1 deletions

View File

@ -23,10 +23,15 @@ python3Packages.buildPythonApplication rec {
doCheck = false; # There are no tests.
postBuild = ''
postInstall = ''
mkdir -p $out/share
cp -r share $out/
# autostart file
cp -r $out/lib/python*/site-packages/etc $out/etc/
glib-compile-schemas --strict $out/share/glib-2.0/schemas
for i in $(find $out -name "*.desktop"); do
substituteInPlace $i --replace /usr $out
done
'';
meta = with lib; {