overlays: Update hyprland/hyprlang to fix hyprctl bugs

Hyprland 0.36.0 changes the config quite a bit. Updating Hyprland to the
latest commit on main and hyprlang to 0.5.0 fixes a lot of the bugs that
were immediately caught after this release.
This commit is contained in:
Donovan Glover 2024-03-08 21:22:05 -05:00
parent bfc5f5320f
commit 546b0f720a
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
3 changed files with 34 additions and 0 deletions

View File

@ -3,6 +3,8 @@
./alejandra.nix
./base16-schemes.nix
./eza.nix
./hyprland.nix
./hyprlang.nix
./kitty.nix
./zola.nix
];

16
overlays/hyprland.nix Normal file
View File

@ -0,0 +1,16 @@
{
nixpkgs.overlays = [
(final: prev: {
hyprland = prev.hyprland.overrideAttrs (oldAttrs: {
version = "0.36.0-unstable-2024-03-08";
src = prev.fetchFromGitHub {
owner = "hyprwm";
repo = "hyprland";
rev = "024d4ddc74c9bd7945c4075c972575f20bc5b9bd";
hash = "sha256-0nQNygrQ9fbbieo6o8eGmadQ19U372OTOu1WUcmZbIs=";
};
});
})
];
}

16
overlays/hyprlang.nix Normal file
View File

@ -0,0 +1,16 @@
{
nixpkgs.overlays = [
(final: prev: {
hyprlang = prev.hyprlang.overrideAttrs (oldAttrs: rec {
version = "0.5.0";
src = prev.fetchFromGitHub {
owner = "hyprwm";
repo = "hyprlang";
rev = "v${version}";
hash = "sha256-bR4o3mynoTa1Wi4ZTjbnsZ6iqVcPGriXp56bZh5UFTk=";
};
});
})
];
}