hyprland: 0.51.1 -> 0.52.0 (#459517)
This commit is contained in:
@@ -13,13 +13,13 @@ let
|
||||
mkHyprlandPlugin,
|
||||
}:
|
||||
let
|
||||
version = "0.51.0";
|
||||
version = "0.52.0";
|
||||
|
||||
hyprland-plugins-src = fetchFromGitHub {
|
||||
owner = "hyprwm";
|
||||
repo = "hyprland-plugins";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-6jAtMjnWq8kty/dpPbIKxIupUG+WAE2AKMIKhxdLYNo=";
|
||||
hash = "sha256-hr53AWO96ooLCwS1a2v416eT1/aWQZmuQV0ULqhaBTY=";
|
||||
};
|
||||
in
|
||||
mkHyprlandPlugin {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"branch": "v0.51.1-b",
|
||||
"commit_hash": "71a1216abcc7031776630a6d88f105605c4dc1c9",
|
||||
"commit_message": "[gha] Nix: update inputs",
|
||||
"date": "2025-09-22",
|
||||
"tag": "v0.51.1"
|
||||
"branch": "main",
|
||||
"commit_hash": "f56ec180d3a03a5aa978391249ff8f40f949fb73",
|
||||
"commit_message": "version: bump to 0.52.0",
|
||||
"date": "2025-11-07",
|
||||
"tag": "v0.52.0"
|
||||
}
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
stdenv,
|
||||
stdenvAdapters,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
pkg-config,
|
||||
makeWrapper,
|
||||
cmake,
|
||||
@@ -91,16 +92,24 @@ assert assertMsg (
|
||||
|
||||
customStdenv.mkDerivation (finalAttrs: {
|
||||
pname = "hyprland" + optionalString debug "-debug";
|
||||
version = "0.51.1";
|
||||
version = "0.52.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hyprwm";
|
||||
repo = "hyprland";
|
||||
fetchSubmodules = true;
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-TPlZf0urtvDH4Cb4By06szJmzR4sBlgQATuGQy8bH6U=";
|
||||
hash = "sha256-5jYD01l95U/HTfZMAccAvhSnrWgHIRWEjLi9R4wPIVI=";
|
||||
};
|
||||
|
||||
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=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# Fix hardcoded paths to /usr installation
|
||||
sed -i "s#/usr#$out#" src/render/OpenGL.cpp
|
||||
|
||||
Reference in New Issue
Block a user