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