From 14aefbb104ca572b267e0d3cf23a543f88871682 Mon Sep 17 00:00:00 2001 From: Colin Date: Sun, 1 Sep 2024 13:33:28 +0000 Subject: [PATCH] wike: fix cross compilation --- pkgs/by-name/wi/wike/package.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/by-name/wi/wike/package.nix b/pkgs/by-name/wi/wike/package.nix index 0afd404e6a79..a22f51c16074 100644 --- a/pkgs/by-name/wi/wike/package.nix +++ b/pkgs/by-name/wi/wike/package.nix @@ -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";