From 2476352fdfcbcb686f6331b2a304ea5df464d8ac Mon Sep 17 00:00:00 2001 From: Thierry Pouplier Date: Sun, 14 Jun 2026 10:01:28 -0400 Subject: [PATCH] fix: skip hyprland qtutils (Qt6Quick missing in aarch64 cross-compile) Qt6Quick and its submodules are not built in the aarch64 qtdeclarative cross-compile output. hyprland-qt-support can't find them and fails. Hyprland only needs qtutils at runtime (added to PATH via wrapProgram). Setting wrapRuntimeDeps = false skips the wrapping entirely, letting Hyprland build without its QML UI support package. --- flake.nix | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/flake.nix b/flake.nix index f1dcd6e..fd20634 100644 --- a/flake.nix +++ b/flake.nix @@ -120,12 +120,9 @@ gjs = prev.gjs.overrideAttrs (old: { mesonFlags = (old.mesonFlags or []) ++ [ "-Dskip_gtk_tests=true" ]; }); - # hyprland-qt-support: Qt6Qml cross-compile path mismatch - hyprland-qt-support = prev.hyprland-qt-support.overrideAttrs (old: { - cmakeFlags = (old.cmakeFlags or []) ++ [ - "-DQt6Qml_DIR=${prev.qt6.qtdeclarative}/lib/cmake/Qt6Qml" - ]; - }); + # Qt6Quick missing from aarch64 qtdeclarative cross-compile; + # skip qtutils runtime deps — Hyprland only needs it for QML UI + hyprland = prev.hyprland.override { wrapRuntimeDeps = false; }; }) ]; }