From 1df5c22b7593da1715a0f6dceb7fddfd13425327 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Fri, 22 May 2026 23:29:23 -0700 Subject: [PATCH] hyprland: provide llvm-nm for plugin symbol lookup --- nixos/hyprland.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/nixos/hyprland.nix b/nixos/hyprland.nix index f78273e1..6ae6ad3c 100644 --- a/nixos/hyprland.nix +++ b/nixos/hyprland.nix @@ -197,6 +197,13 @@ hyprwobbly ] ++ lib.optionals enableHyprglass [hyprglass]; + llvmNmCompat = pkgs.writeShellApplication { + name = "llvm-nm"; + runtimeInputs = [pkgs.binutils]; + text = '' + exec nm "$@" + ''; + }; hyprRofiWindow = pkgs.writeShellApplication { name = "hypr_rofi_window"; runtimeInputs = [ @@ -397,6 +404,7 @@ nwg-displays # GUI monitor arrangement mpvpaper # Layer-shell video screensaver payload ddcutil # Monitor input switching over DDC/CI + llvmNmCompat # Hyprland's Clang-built plugin API shells out to llvm-nm # For scripts hyprRofiLayout