From 11a49690285e83022ca83a3ea2bdad76df5ebb4c Mon Sep 17 00:00:00 2001 From: Thierry Pouplier Date: Sun, 14 Jun 2026 09:30:50 -0400 Subject: [PATCH] fix: skip GTK tests in gjs cross-compile for Hyprland --- flake.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/flake.nix b/flake.nix index 9db440d..4c81fd9 100644 --- a/flake.nix +++ b/flake.nix @@ -116,6 +116,10 @@ (flag: !(builtins.isString flag && builtins.match ".*libcamera.*" flag != null)) (old.mesonFlags or []) ++ [ "-Dlibcamera=disabled" ]; }); + # gjs cross-compile fails without GTK; skip intro tests + gjs = prev.gjs.overrideAttrs (old: { + mesonFlags = (old.mesonFlags or []) ++ [ "-Dskip_gtk_tests=true" ]; + }); }) ]; }