diff options
author | caeklol <me@caek.dev> | 2024-05-11 00:48:03 +0800 |
---|---|---|
committer | caeklol <me@caek.dev> | 2024-05-11 11:31:18 +0800 |
commit | 5c8f30b56ec3d0ee7e0328b2fb5396c37e700d84 (patch) | |
tree | 4da9f9787669a97d41e99ce4f0434e8a65cdd2d9 /pkgs/by-name/ar | |
parent | 8c810f6f55ed3175b54378707e283a0cb4ccd745 (diff) |
arduino-ide: Fix .desktop file
Diffstat (limited to 'pkgs/by-name/ar')
-rw-r--r-- | pkgs/by-name/ar/arduino-ide/package.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/by-name/ar/arduino-ide/package.nix b/pkgs/by-name/ar/arduino-ide/package.nix index 68e873fc28652..7184705a178a8 100644 --- a/pkgs/by-name/ar/arduino-ide/package.nix +++ b/pkgs/by-name/ar/arduino-ide/package.nix @@ -20,6 +20,7 @@ appimageTools.wrapType2 { extraInstallCommands = '' install -Dm444 ${appimageContents}/${pname}.desktop -t $out/share/applications/ install -Dm444 ${appimageContents}/${pname}.png -t $out/share/pixmaps/ + substituteInPlace $out/share/applications/${pname}.desktop --replace-fail 'Exec=AppRun --no-sandbox %U' 'Exec=${pname} %U' ''; extraPkgs = pkgs: with pkgs; [ libsecret ]; |