From 37f080d649a23840847b90bdc2ed23c9d61c1f6a Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Mon, 28 Oct 2024 11:12:26 +0300 Subject: chore(3p/overlays): pin niri to latest master This version has my trackball fixes, and interactive move, both of which are not in a stable release yet. Change-Id: Id7356e328772c972db7fb496ac80c318e8c5b330 Reviewed-on: https://cl.tvl.fyi/c/depot/+/12707 Autosubmit: tazjin Reviewed-by: tazjin Tested-by: BuildkiteCI --- third_party/overlays/tvl.nix | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'third_party/overlays') diff --git a/third_party/overlays/tvl.nix b/third_party/overlays/tvl.nix index c1aa5bbfd715..3835f07c9664 100644 --- a/third_party/overlays/tvl.nix +++ b/third_party/overlays/tvl.nix @@ -154,4 +154,25 @@ depot.nix.readTree.drvTargets { # # temporarily restore the old name to make things work again. utillinux = self.util-linux; + + # Override niri to a version with interactive move until a new release is cut upstream. + niri = + let + src = self.fetchFromGitHub { + owner = "yalter"; + repo = "niri"; + rev = "0866990b7d706cdb3af2e9f0008bb9e7281a0e26"; + hash = "sha256:088yb86pryrcklwggx072dhswhjvx9ylkzdhrfkpfc56a85mp6vk"; + }; + in + super.niri.overrideAttrs (old: { + inherit src; + cargoDeps = self.rustPlatform.importCargoLock { + lockFile = "${src}/Cargo.lock"; + outputHashes = { + "smithay-0.3.0" = "sha256:10ihl9hvvi8aw30qv8ihv888ngr7wf7p9nwabf2jvhlc9443jq35"; + "libspa-0.8.0" = "sha256:1n8ngihd75i3vgbfnfhpj8mi6shlrhbhvwfyms14m03613jp37lj"; + }; + }; + }); } -- cgit 1.4.1