Unverified Commit 75f2358f authored by leiserfg's avatar leiserfg
Browse files

hyprland: 0.52.0 -> 0.52.1

parent 7b309d55
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
{
  "branch": "main",
  "commit_hash": "f56ec180d3a03a5aa978391249ff8f40f949fb73",
  "commit_message": "version: bump to 0.52.0",
  "date": "2025-11-07",
  "tag": "v0.52.0"
  "branch": "v0.52.1-b",
  "commit_hash": "967c3c7404d4fa00234e29c70df3e263386d2597",
  "commit_message": "version: bump to 0.52.1",
  "date": "2025-11-09",
  "tag": "v0.52.1"
}
+2 −17
Original line number Diff line number Diff line
@@ -3,7 +3,6 @@
  stdenv,
  stdenvAdapters,
  fetchFromGitHub,
  fetchpatch,
  pkg-config,
  makeWrapper,
  cmake,
@@ -92,30 +91,16 @@ assert assertMsg (

customStdenv.mkDerivation (finalAttrs: {
  pname = "hyprland" + optionalString debug "-debug";
  version = "0.52.0";
  version = "0.52.1";

  src = fetchFromGitHub {
    owner = "hyprwm";
    repo = "hyprland";
    fetchSubmodules = true;
    tag = "v${finalAttrs.version}";
    hash = "sha256-5jYD01l95U/HTfZMAccAvhSnrWgHIRWEjLi9R4wPIVI=";
    hash = "sha256-Lr8kwriXtUxjYsi1sGRMIR2LZilgrxYQA1TTmbpSJ+g=";
  };

  patches = [
    # NOTE: this is required to make plugins compile. should be removed with the next release.
    (fetchpatch {
      url = "https://github.com/hyprwm/Hyprland/commit/522edc87126a48f3ce4891747b6a92a22385b1e7.patch";
      hash = "sha256-0BAlAVW5isa8gd833PjZdqO/uEpDqdTlu0iZbLP4U9s=";
    })

    # NOTE: fixes regression for layer-shell-qt. should be removed with the next release.
    (fetchpatch {
      url = "https://github.com/hyprwm/Hyprland/commit/0bd11d5eb941b8038f0723135768d84aa5512b4a.patch";
      hash = "sha256-yY5OsihAzm5cVLg8smGc4i/RIimUDwuZ1RUGqOlfV+Q=";
    })
  ];

  postPatch = ''
    # Fix hardcoded paths to /usr installation
    sed -i "s#/usr#$out#" src/render/OpenGL.cpp