From 0fe1ffe3fd789cd42307c4dd7f4acda02c03ecd0 Mon Sep 17 00:00:00 2001 From: SchweGELBin Date: Mon, 29 Dec 2025 16:35:21 +0100 Subject: [PATCH 1/3] hyprland: 0.52.2 -> 0.53.0 --- pkgs/by-name/hy/hyprland/info.json | 10 +++++----- pkgs/by-name/hy/hyprland/package.nix | 9 ++++++--- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/pkgs/by-name/hy/hyprland/info.json b/pkgs/by-name/hy/hyprland/info.json index a58f9bf3c70f..88a308d2b0cc 100644 --- a/pkgs/by-name/hy/hyprland/info.json +++ b/pkgs/by-name/hy/hyprland/info.json @@ -1,7 +1,7 @@ { - "branch": "v0.52.2-b", - "commit_hash": "386376400119dd46a767c9f8c8791fd22c7b6e61", - "commit_message": "[gha] Nix: update inputs", - "date": "2025-12-03", - "tag": "v0.52.2" + "branch": "main", + "commit_hash": "ea444c35bb23b6e34505ab6753e069de7801cc25", + "commit_message": "version: bump to 0.53.0", + "date": "2025-12-29", + "tag": "v0.53.0" } diff --git a/pkgs/by-name/hy/hyprland/package.nix b/pkgs/by-name/hy/hyprland/package.nix index 3e1cdc33a198..dfd0a3eae580 100644 --- a/pkgs/by-name/hy/hyprland/package.nix +++ b/pkgs/by-name/hy/hyprland/package.nix @@ -19,6 +19,7 @@ hyprland-qtutils, hyprlang, hyprutils, + hyprwire, hyprwayland-scanner, libGL, libdrm, @@ -91,14 +92,14 @@ assert assertMsg ( customStdenv.mkDerivation (finalAttrs: { pname = "hyprland" + optionalString debug "-debug"; - version = "0.52.2"; + version = "0.53.0"; src = fetchFromGitHub { owner = "hyprwm"; repo = "hyprland"; fetchSubmodules = true; tag = "v${finalAttrs.version}"; - hash = "sha256-R2Hm7XbW8CTLEIeYCAlSQ3U5bFhn76FC17hEy/ws8EM="; + hash = "sha256-1jZK7hqNhQRqhj+2eb/JvnBoARxUgoVXKLSwp2RPmNQ="; }; postPatch = '' @@ -107,6 +108,7 @@ customStdenv.mkDerivation (finalAttrs: { # Remove extra @PREFIX@ to fix pkg-config paths sed -i "s#@PREFIX@/##g" hyprland.pc.in + sed -i "s#@PREFIX@/##g" example/hyprland.desktop.in ''; # variables used by CMake, and shown in `hyprctl version` @@ -127,6 +129,7 @@ customStdenv.mkDerivation (finalAttrs: { nativeBuildInputs = [ hyprwayland-scanner + hyprwire makeWrapper cmake # meson + ninja are used to build the hyprland-protocols submodule @@ -187,13 +190,13 @@ customStdenv.mkDerivation (finalAttrs: { strictDeps = true; cmakeFlags = mapAttrsToList cmakeBool { + "BUILT_WITH_NIX" = true; "NO_XWAYLAND" = !enableXWayland; "NO_SYSTEMD" = !withSystemd; "CMAKE_DISABLE_PRECOMPILE_HEADERS" = true; "NO_UWSM" = true; "NO_HYPRPM" = true; "TRACY_ENABLE" = false; - "BUILD_HYPRTESTER" = true; }; postInstall = '' From 874985cfccbb94ed17cc19d2ae1c8e9191b1f886 Mon Sep 17 00:00:00 2001 From: SchweGELBin Date: Mon, 29 Dec 2025 20:58:48 +0100 Subject: [PATCH 2/3] nixos/hyprland: prefer `start-hyprland` over `Hyprland` --- nixos/modules/programs/wayland/hyprland.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/programs/wayland/hyprland.nix b/nixos/modules/programs/wayland/hyprland.nix index 1c827fc6bf31..ae9d224778c2 100644 --- a/nixos/modules/programs/wayland/hyprland.nix +++ b/nixos/modules/programs/wayland/hyprland.nix @@ -14,7 +14,7 @@ in options.programs.hyprland = { enable = lib.mkEnableOption '' Hyprland, the dynamic tiling Wayland compositor that doesn't sacrifice on its looks. - You can manually launch Hyprland by executing {command}`Hyprland` on a TTY. + You can manually launch Hyprland by executing {command}`start-hyprland` on a TTY. A configuration file will be generated in {file}`~/.config/hypr/hyprland.conf`. See for more information''; @@ -103,7 +103,7 @@ in hyprland = { prettyName = "Hyprland"; comment = "Hyprland compositor managed by UWSM"; - binPath = "/run/current-system/sw/bin/Hyprland"; + binPath = "/run/current-system/sw/bin/start-hyprland"; }; }; }) From 0b5c9a24e1ffadbe162c3d9e845e72ff645751e6 Mon Sep 17 00:00:00 2001 From: SchweGELBin Date: Mon, 29 Dec 2025 21:04:29 +0100 Subject: [PATCH 3/3] hyprlandPlugins/hyprland-plugins: 0.52.0 -> 0.53.0 --- .../hyprwm/hyprland-plugins/hyprland-plugins.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/window-managers/hyprwm/hyprland-plugins/hyprland-plugins.nix b/pkgs/applications/window-managers/hyprwm/hyprland-plugins/hyprland-plugins.nix index 3bc837a2319d..079508f4262f 100644 --- a/pkgs/applications/window-managers/hyprwm/hyprland-plugins/hyprland-plugins.nix +++ b/pkgs/applications/window-managers/hyprwm/hyprland-plugins/hyprland-plugins.nix @@ -13,13 +13,13 @@ let mkHyprlandPlugin, }: let - version = "0.52.0"; + version = "0.53.0"; hyprland-plugins-src = fetchFromGitHub { owner = "hyprwm"; repo = "hyprland-plugins"; tag = "v${version}"; - hash = "sha256-hr53AWO96ooLCwS1a2v416eT1/aWQZmuQV0ULqhaBTY="; + hash = "sha256-BSRT1Uu1ot4WfMfZc6KW0nwpmt2xl9wpUqmH/JoMTfk="; }; in mkHyprlandPlugin {