diff --git a/settings/hyprland.nix b/settings/hyprland.nix index 3dccb4e..929a78d 100644 --- a/settings/hyprland.nix +++ b/settings/hyprland.nix @@ -8,7 +8,7 @@ let # Locate gcc-15's libstdc++ from Hyprland's own runtime closure (hyprutils # is a transitive dep, so gcc-15-lib will appear here too). gcc15-lib = lib.head (lib.filter - (p: lib.hasInfix "gcc-15" p && lib.hasSuffix "-lib" p) + (p: lib.hasSuffix "-lib" p && lib.match ".*/gcc-[0-9]+\\.[0-9]+\\.[0-9]+-lib" p != null) (lib.splitString "\n" (lib.removeSuffix "\n" (builtins.readFile