From 6a9b8b558ac913a9b4c3ecff331015970bfe2ff1 Mon Sep 17 00:00:00 2001 From: Colin Date: Sat, 25 Nov 2023 06:27:20 +0000 Subject: [PATCH] cross: mark tangram, gnome-online-accounts as needs binfmt --- overlays/cross.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/overlays/cross.nix b/overlays/cross.nix index b8df2933..a512f7d6 100644 --- a/overlays/cross.nix +++ b/overlays/cross.nix @@ -733,6 +733,9 @@ in { # final.gobject-introspection # this *should* work, if libgnome-games-support were to ship GIR bindings? ] prev.gnome-2048; + # needs binfmt: "scangobj.py:execute_command:1293:WARNING:Running scanner failed: [Errno 8] Exec format error: './goa-scan', command: ./goa-scan" + gnome-online-accounts = needsBinfmt prev.gnome-online-accounts; + gnome = prev.gnome.overrideScope' (self: super: { # dconf-editor = super.dconf-editor.override { # # fails to fix original error @@ -2014,7 +2017,8 @@ in { # doCheck = false; # tests time out # }; # }; - tangram = (prev.tangram.override { + # needs binfmt: "/build/source/src/../troll/gjspack/bin/gjspack: line 3: import: not found" + tangram = needsBinfmt ((prev.tangram.override { # N.B. blueprint-compiler is in nativeBuildInputs. # the trick here is to force the aarch64 versions to be used during build (via emulation). # blueprint-compiler override shared with flare-signal-nixified. @@ -2039,7 +2043,7 @@ in { ''; # buildInputs = upstream.buildInputs ++ [ final.gobject-introspection ]; # nativeBuildInputs = lib.remove final.gobject-introspection upstream.nativeBuildInputs; - }); + })); # tangram = (mvToBuildInputs [ final.blueprint-compiler final.gobject-introspection ] prev.tangram).overrideAttrs (upstream: { # postPatch = (upstream.postPatch or "") + '' # substituteInPlace src/meson.build \