From 81318ce0be9c36e068131467250bcabd3b09a6fc Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Fri, 22 May 2026 20:30:07 -0700 Subject: [PATCH] hyprland: disable parallel build for pinned package --- nixos/hyprland.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nixos/hyprland.nix b/nixos/hyprland.nix index 65e79b5a..f78273e1 100644 --- a/nixos/hyprland.nix +++ b/nixos/hyprland.nix @@ -21,7 +21,11 @@ }; # GCC 15.2 ICEs while compiling Hyprland 0.55 on this pin. Keep the # Hyprland/plugin pin set intact and build Hyprland itself with Clang. - baseHyprlandPackage = avoidHyprlandGccIce hyprlandInput.packages.${system}.hyprland; + baseHyprlandPackage = (avoidHyprlandGccIce hyprlandInput.packages.${system}.hyprland).overrideAttrs (_: { + # Clang 21 can segfault in LLVM's Live DEBUG_VALUE analysis while compiling + # ConfigValues.cpp when this build runs in parallel. + enableParallelBuilding = false; + }); hyprlandPluginsForBase = pkgs.callPackage "${pkgs.path}/pkgs/applications/window-managers/hyprwm/hyprland-plugins" { hyprland = baseHyprlandPackage; };