From 8bf02ebc9b40539066d093dfe9bf8923479be616 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sun, 17 Dec 2023 21:31:00 +0100 Subject: [PATCH] zapzap: fix double wrapping, install icon in correct directory --- pkgs/by-name/za/zapzap/package.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/za/zapzap/package.nix b/pkgs/by-name/za/zapzap/package.nix index 3c8ea97a5c12..893e43eed712 100644 --- a/pkgs/by-name/za/zapzap/package.nix +++ b/pkgs/by-name/za/zapzap/package.nix @@ -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