From 1844da3814bd97afd3c3f4c4d6c5e318e3552247 Mon Sep 17 00:00:00 2001 From: Mihai Fufezan Date: Wed, 3 Jul 2024 20:43:43 +0300 Subject: [PATCH] Nix: overlay libinput 1.26 until merged in Nixpkgs --- flake.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/flake.nix b/flake.nix index d9f2fdb..3325c4b 100644 --- a/flake.nix +++ b/flake.nix @@ -39,7 +39,9 @@ in { overlays = { default = self.overlays.aquamarine; + aquamarine = lib.composeManyExtensions [ + self.overlays.libinput inputs.hyprutils.overlays.default inputs.hyprwayland-scanner.overlays.default (final: prev: { @@ -50,6 +52,20 @@ 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: {