From 2749950b2ac22f9af617ca0fba0d03b8ea0aa709 Mon Sep 17 00:00:00 2001 From: Jeff Huffman Date: Sun, 10 Dec 2023 20:21:45 -0500 Subject: [PATCH] count npmDepsHash when counting hashes --- src/Nix.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Nix.hs b/src/Nix.hs index c3025b3..580fd5f 100644 --- a/src/Nix.hs +++ b/src/Nix.hs @@ -221,7 +221,7 @@ numberOfFetchers derivationContents = -- Sum the number of things that look like fixed-output derivation hashes numberOfHashes :: Text -> Int numberOfHashes derivationContents = - sum $ map countUp ["sha256 =", "sha256=", "cargoSha256 =", "cargoHash =", "vendorSha256 =", "vendorHash =", "hash ="] + sum $ map countUp ["sha256 =", "sha256=", "cargoSha256 =", "cargoHash =", "vendorSha256 =", "vendorHash =", "hash =", "npmDepsHash ="] where countUp x = T.count x derivationContents