Nix: override wayland-protocols until merged

This commit is contained in:
Mihai Fufezan 2024-04-22 00:38:28 +03:00
parent 019d4900cb
commit a4f38a07d7
Signed by: fufexan
SSH key fingerprint: SHA256:SdnKmEpJrDu1+2UO1QpB/Eg4HKcdDi6n+xSRqFNJVpg

View file

@ -27,6 +27,7 @@ in {
inputs.hyprwayland-scanner.overlays.default inputs.hyprwayland-scanner.overlays.default
self.overlays.wlroots-hyprland self.overlays.wlroots-hyprland
self.overlays.udis86 self.overlays.udis86
self.overlays.wayland-protocols
# Hyprland packages themselves # Hyprland packages themselves
(final: prev: let (final: prev: let
date = mkDate (self.lastModifiedDate or "19700101"); date = mkDate (self.lastModifiedDate or "19700101");
@ -76,4 +77,14 @@ in {
src = inputs.wlroots; src = inputs.wlroots;
}; };
}; };
wayland-protocols = final: prev: {
wayland-protocols = prev.wayland-protocols.overrideAttrs (self: super: {
version = "1.35";
src = prev.fetchurl {
url = "https://gitlab.freedesktop.org/wayland/${super.pname}/-/releases/${self.version}/downloads/${super.pname}-${self.version}.tar.xz";
hash = "sha256-N6JxaigTPcgZNBxWiinSHoy3ITDlwSah/PyfQsI9las=";
};
});
};
} }