Commit 5f5ab749d2cd

Vincent Demeester <vincent@sbr.pm>
2026-04-29 10:41:29
feat(niri): bump to v26.04 via overlay
Nixpkgs still on v25.11 with no update PR pending. Override package with fetchCargoVendor to bypass cached vendor derivation issues with overrideAttrs.
1 parent 1894c55
Changed files (1)
overlays
overlays/default.nix
@@ -14,6 +14,29 @@ in
     # Pin SearXNG to latest commit for critical engine fixes:
     # - Google useragent bypass (#5892, 2026-03-23)
     # - Bing engine rework (#5793, 2026-03-18)
+    # Track latest niri release (nixpkgs is on 25.11, upstream has 26.04)
+    niri =
+      let
+        src = final.fetchFromGitHub {
+          owner = "niri-wm";
+          repo = "niri";
+          tag = "v26.04";
+          hash = "sha256-ehSMsSpE+0k8r+2Vseu8kangsYxToZv3vinynsDp9zs=";
+        };
+      in
+      prev.niri.overrideAttrs (old: {
+        version = "26.04";
+        inherit src;
+        postPatch = ''
+          patchShebangs resources/niri-session
+        '';
+        cargoDeps = final.rustPlatform.fetchCargoVendor {
+          inherit src;
+          name = "niri-26.04-vendor";
+          hash = "sha256-gfnalA3qI3a9h3PvsxgQLCrzapfjLLkxhTMJpwRh+ro=";
+        };
+      });
+
     searxng = prev.searxng.overrideAttrs (_oldAttrs: {
       version = "0-unstable-2026-03-23";
       src = final.fetchFromGitHub {