mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-26 10:14:48 +00:00
airgorah: add gappsWrapperArgs
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user