about summary refs log tree commit diff
path: root/third_party/overlays/tvl.nix
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@tvl.su>2024-10-28T08·12+0300
committerclbot <clbot@tvl.fyi>2024-10-28T08·33+0000
commit37f080d649a23840847b90bdc2ed23c9d61c1f6a (patch)
treeb6424c25287c19a3cff378941c8d6931a9cf30f0 /third_party/overlays/tvl.nix
parent9882f0d55c65b82aecd53fbbdd765801a53e51fb (diff)
chore(3p/overlays): pin niri to latest master r/8873
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 <tazjin@tvl.su>
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Diffstat (limited to 'third_party/overlays/tvl.nix')
-rw-r--r--third_party/overlays/tvl.nix21
1 files changed, 21 insertions, 0 deletions
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";
+        };
+      };
+    });
 }