From b90a577268bc6382cf84c997cba8f94ec7c9451d Mon Sep 17 00:00:00 2001
From: zowoq <59103226+zowoq@users.noreply.github.com>
Date: Tue, 24 Dec 2024 09:10:54 +1000
Subject: [PATCH] nixpkgs-update: pin nixpkgs-review

---
 hosts/build02/nixpkgs-update.nix | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/hosts/build02/nixpkgs-update.nix b/hosts/build02/nixpkgs-update.nix
index eb0ef8d..5b765d2 100644
--- a/hosts/build02/nixpkgs-update.nix
+++ b/hosts/build02/nixpkgs-update.nix
@@ -24,7 +24,17 @@ let
 
     coreutils
     gist
-    nixpkgs-review
+    # https://github.com/Mic92/nixpkgs-review/issues/446
+    (nixpkgs-review.overrideAttrs (_: {
+      name = "nixpkgs-review-2.12.0";
+      version = "2.12.0";
+      src = fetchFromGitHub {
+        owner = "Mic92";
+        repo = "nixpkgs-review";
+        tag = "2.12.0";
+        hash = "sha256-yNdBqL3tceuoUHx8/j2y5ZTq1zeVDAm37RZtlCbC6rg=";
+      };
+    }))
     tree
   ];