From 8530c5e38a3c53ff644e5dd6ad608f0d9c0cb4cf Mon Sep 17 00:00:00 2001 From: genesis Date: Thu, 16 Feb 2023 12:46:23 +0100 Subject: [PATCH] sonixd: package icon and desktop file --- pkgs/applications/audio/sonixd/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/audio/sonixd/default.nix b/pkgs/applications/audio/sonixd/default.nix index 49c22a3aa4d7..d7b15ba0482a 100644 --- a/pkgs/applications/audio/sonixd/default.nix +++ b/pkgs/applications/audio/sonixd/default.nix @@ -19,9 +19,9 @@ appimageTools.wrapType2 rec { mv $out/bin/${pname}-${version} $out/bin/${pname} install -m 444 -D ${appimageContents}/${pname}.desktop -t $out/share/applications - - install -m 444 -D ${appimageContents}/${pname}.png \ - $out/share/icons/hicolor/1024x1024/apps/${pname}.png + substituteInPlace $out/share/applications/${pname}.desktop \ + --replace 'Exec=AppRun --no-sandbox %U' 'Exec=${pname}' + cp -r ${appimageContents}/usr/share/icons $out/share ''; meta = with lib; {