From a3ffc0c9d9f6a191129a6f499f7a95194ff1c06f Mon Sep 17 00:00:00 2001
From: matt1432 <matt@nelim.org>
Date: Mon, 19 May 2025 02:43:57 -0400
Subject: [PATCH] fix(nh): pin to 4.0.2 because of nvd bug

---
 flake.lock         | 7 ++++---
 flake.nix          | 1 +
 inputs/default.nix | 3 +++
 3 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/flake.lock b/flake.lock
index 0f7e70c1..aedd53a1 100644
--- a/flake.lock
+++ b/flake.lock
@@ -1117,15 +1117,16 @@
         ]
       },
       "locked": {
-        "lastModified": 1747596523,
-        "narHash": "sha256-qmc8XgAAEE9sm0yhFDUSwTMX5b8jxQdQLQtatgTMiB4=",
+        "lastModified": 1745701677,
+        "narHash": "sha256-ajEl9nV4XFW7H98XCPUshzYL+K0+gVqEWUC4+MBAUFw=",
         "owner": "nix-community",
         "repo": "nh",
-        "rev": "e75dacd5df3f8feff16896884bd264dea78df334",
+        "rev": "7c913894581c21a8669384a366dc486c136ea7d5",
         "type": "github"
       },
       "original": {
         "owner": "nix-community",
+        "ref": "v4.0.2",
         "repo": "nh",
         "type": "github"
       }
diff --git a/flake.nix b/flake.nix
index f08f5421..43c560e2 100644
--- a/flake.nix
+++ b/flake.nix
@@ -263,6 +263,7 @@
     nh = {
       inputs.nixpkgs.follows = "nixpkgs";
       owner = "nix-community";
+      ref = "v4.0.2";
       repo = "nh";
       type = "github";
     };
diff --git a/inputs/default.nix b/inputs/default.nix
index 2900eecc..d3e58794 100644
--- a/inputs/default.nix
+++ b/inputs/default.nix
@@ -68,6 +68,9 @@ let
     nh = mkInput {
       owner = "nix-community";
       repo = "nh";
+
+      # FIXME: nvd doesn't show any changes in latest
+      ref = "v4.0.2";
     };
 
     nurl = mkInput {