From 5e3a8cf702c6d8a69bf3784a3edcce2e1becf8e3 Mon Sep 17 00:00:00 2001 From: Colin Date: Sat, 24 Jun 2023 19:42:55 +0000 Subject: [PATCH] cross: fix tuba compilation for moby --- overlays/cross.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/overlays/cross.nix b/overlays/cross.nix index f4c23a26..e82581e0 100644 --- a/overlays/cross.nix +++ b/overlays/cross.nix @@ -1203,6 +1203,13 @@ in { # fixes "meson.build:183:0: ERROR: Can not run test applications in this cross environment." inherit (emulated) stdenv; }; + tuba = (prev.tuba.override { + # fixes -msse2, -mfpmath=sse flags + wrapGAppsHook4 = final.wrapGAppsHook; + }).overrideAttrs (upstream: { + # error: Package `{libadwaita-1,gtksourceview-5,libsecret-1,gee-0.8}' not found in specified Vala API directories or GObject-Introspection GIR directories + buildInputs = upstream.buildInputs ++ [ final.vala ]; + }); # twitter-color-emoji = prev.twitter-color-emoji.override { # # fails to fix original error # inherit (emulated) stdenv;