airgorah: add gappsWrapperArgs

This commit is contained in:
Fabian Affolter
2026-08-19 14:14:01 +02:00
parent 203c4a6116
commit be2f51fcf4

View File

@@ -1,15 +1,19 @@
{
rustPlatform,
lib,
aircrack-ng,
copyDesktopItems,
fetchFromGitHub,
pkg-config,
glib,
pango,
gdk-pixbuf,
glib,
graphene,
gtk4,
copyDesktopItems,
iw,
macchanger,
makeDesktopItem,
pango,
pkg-config,
rustPlatform,
wireshark-cli,
wrapGAppsHook4,
}:
@@ -44,6 +48,17 @@ rustPlatform.buildRustPackage (finalAttrs: {
install -Dm644 crates/gui/icons/app_icon.png $out/share/icons/airgorah.png
'';
preFixup = ''
gappsWrapperArgs+=(--prefix PATH : ${
lib.makeBinPath [
iw
aircrack-ng
wireshark-cli
macchanger
]
})
'';
desktopItems = [
(makeDesktopItem {
name = "airgorah";