From 46c029e64411239ccacbc7d257882c716644ac60 Mon Sep 17 00:00:00 2001 From: Arnaud Date: Wed, 24 Dec 2025 10:30:07 +0400 Subject: [PATCH] Update sha256 and fix regex for checksums --- nix/checksums.nix | 4 ++-- nix/nimble.nix | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nix/checksums.nix b/nix/checksums.nix index d79345d2..c9c9f3d4 100644 --- a/nix/checksums.nix +++ b/nix/checksums.nix @@ -6,7 +6,7 @@ let in pkgs.fetchFromGitHub { owner = "nim-lang"; repo = "checksums"; - rev = tools.findKeyValue "^ +ChecksumsStableCommit = \"([a-f0-9]+)\"$" sourceFile; + rev = tools.findKeyValue "^ +ChecksumsStableCommit = \"([a-f0-9]+)\".*$" sourceFile; # WARNING: Requires manual updates when Nim compiler version changes. - hash = "sha256-Bm5iJoT2kAvcTexiLMFBa9oU5gf7d4rWjo3OiN7obWQ="; + hash = "sha256-JZhWqn4SrAgNw/HLzBK0rrj3WzvJ3Tv1nuDMn83KoYY="; } diff --git a/nix/nimble.nix b/nix/nimble.nix index 39c5e0ff..6eb4c8a0 100644 --- a/nix/nimble.nix +++ b/nix/nimble.nix @@ -9,5 +9,5 @@ in pkgs.fetchFromGitHub { fetchSubmodules = true; rev = tools.findKeyValue "^ +NimbleStableCommit = \"([a-f0-9]+)\".+" sourceFile; # WARNING: Requires manual updates when Nim compiler version changes. - hash = "sha256-Rz48sGUKZEAp+UySla+MlsOfsERekuGKw69Tm11fDz8="; + hash = "sha256-wgzFhModFkwB8st8F5vSkua7dITGGC2cjoDvgkRVZMs="; }