wike: fix cross compilation

This commit is contained in:
Colin
2024-09-01 13:37:26 +00:00
parent 2d3ffea196
commit 14aefbb104
+7
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";