anyrun: drop Apple support

This commit is contained in:
Sarah Clark 2024-11-12 17:17:58 -08:00
parent c255dffa53
commit e52b835f25

View File

@ -11,7 +11,6 @@
gtk3,
pango,
stdenv,
darwin,
wayland,
gtk-layer-shell,
unstableGitUpdater,
@ -39,18 +38,16 @@ rustPlatform.buildRustPackage rec {
wrapGAppsHook3
];
buildInputs =
[
atk
cairo
gdk-pixbuf
glib
gtk3
gtk-layer-shell
pango
]
++ lib.optionals stdenv.hostPlatform.isDarwin [ darwin.apple_sdk.frameworks.Security ]
++ lib.optionals stdenv.hostPlatform.isLinux [ wayland ];
buildInputs = [
atk
cairo
gdk-pixbuf
glib
gtk3
gtk-layer-shell
pango
wayland
];
preFixup = ''
gappsWrapperArgs+=(
@ -73,5 +70,6 @@ rustPlatform.buildRustPackage rec {
NotAShelf
];
mainProgram = "anyrun";
platforms = lib.platforms.linux;
};
}