zapzap: fix double wrapping, install icon in correct directory

This commit is contained in:
Sandro Jäckel 2023-12-17 21:31:00 +01:00
parent 7ed419e80f
commit 8bf02ebc9b
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -48,7 +48,12 @@ python3Packages.buildPythonApplication rec {
postInstall = ''
install -Dm555 share/applications/com.rtosta.zapzap.desktop -t $out/share/applications/
install -Dm555 share/icons/com.rtosta.zapzap.svg -t $out/share/icons/hicolor/scalable/
install -Dm555 share/icons/com.rtosta.zapzap.svg -t $out/share/icons/hicolor/scalable/apps/
'';
dontWrapQtApps = true;
preFixup = ''
makeWrapperArgs+=("''${qtWrapperArgs[@]}")
'';
# has no tests