Nix: overlay libinput 1.26 until merged in Nixpkgs

This commit is contained in:
Mihai Fufezan 2024-07-03 20:43:43 +03:00
parent e6ba21bbdc
commit 1844da3814
Signed by: fufexan
SSH key fingerprint: SHA256:SdnKmEpJrDu1+2UO1QpB/Eg4HKcdDi6n+xSRqFNJVpg

View file

@ -39,7 +39,9 @@
in { in {
overlays = { overlays = {
default = self.overlays.aquamarine; default = self.overlays.aquamarine;
aquamarine = lib.composeManyExtensions [ aquamarine = lib.composeManyExtensions [
self.overlays.libinput
inputs.hyprutils.overlays.default inputs.hyprutils.overlays.default
inputs.hyprwayland-scanner.overlays.default inputs.hyprwayland-scanner.overlays.default
(final: prev: { (final: prev: {
@ -50,6 +52,20 @@
aquamarine-with-tests = final.aquamarine.override {doCheck = true;}; aquamarine-with-tests = final.aquamarine.override {doCheck = true;};
}) })
]; ];
libinput = final: prev: {
libinput = prev.libinput.overrideAttrs (self: super: {
version = "1.26.0";
src = final.fetchFromGitLab {
domain = "gitlab.freedesktop.org";
owner = "libinput";
repo = "libinput";
rev = self.version;
hash = "sha256-mlxw4OUjaAdgRLFfPKMZDMOWosW9yKAkzDccwuLGCwQ=";
};
});
};
}; };
packages = eachSystem (system: { packages = eachSystem (system: {