wike: fix cross compilation (#338807)

This commit is contained in:
Peder Bergebakken Sundt 2024-10-06 17:28:47 +02:00 committed by GitHub
commit 3abf5b5241
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,6 +4,7 @@
, meson
, ninja
, pkg-config
, pkgsCross
, appstream-glib
, desktop-file-utils
, gobject-introspection
@ -62,8 +63,14 @@ python3.pkgs.buildPythonApplication rec {
dontWrapGApps = true;
preFixup = ''
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
patchShebangs --update $out/share/wike/wike-sp
'';
passthru = {
tests.cross = pkgsCross.aarch64-multiplatform.wike;
};
meta = with lib; {
description = "Wikipedia Reader for the GNOME Desktop";
homepage = "https://github.com/hugolabe/Wike";