upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2026-01-11 15:47:11 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2026-01-11 15:47:11 +0000
commitc9a8b2a3b78babcdfbd178e374bb68c46dbdea4b (patch)
tree66938bd75c38e3d726100df5b1a111d9bec56ad2
parent51a3d810d2a73a6300c51d3baf6060bb33f6b92c (diff)
fix: convert nostr dependency hash to SRI format
The hash for the nostr-0.44.1 dependency was in Nix base32 format (sha256-02cawkx...) but needs to be in SRI base64 format (sha256-DwcWmwxNUQRR...) for compatibility with modern Nix. This was causing nixos-rebuild to fail with: error: invalid SRI hash '02cawkx6bxfi3bn1sb5ws8cn9wzcwsk8cdv1vx8h8lad1jdic1qg'
-rw-r--r--flake.nix2
-rw-r--r--nix/module.nix3
2 files changed, 2 insertions, 3 deletions
diff --git a/flake.nix b/flake.nix
index 71749b9..14d1242 100644
--- a/flake.nix
+++ b/flake.nix
@@ -42,7 +42,7 @@
42 lockFile = ./Cargo.lock; 42 lockFile = ./Cargo.lock;
43 outputHashes = { 43 outputHashes = {
44 "nostr-0.44.1" = 44 "nostr-0.44.1" =
45 "sha256-02cawkx6bxfi3bn1sb5ws8cn9wzcwsk8cdv1vx8h8lad1jdic1qg"; 45 "sha256-DwcWmwxNUQRR32E3hqbm7PNkGdK8LB3sGtH1Zfrkigk=";
46 }; 46 };
47 }; 47 };
48 48
diff --git a/nix/module.nix b/nix/module.nix
index 39e7d8a..cf334f2 100644
--- a/nix/module.nix
+++ b/nix/module.nix
@@ -11,8 +11,7 @@ let
11 cargoLock = { 11 cargoLock = {
12 lockFile = ../Cargo.lock; 12 lockFile = ../Cargo.lock;
13 outputHashes = { 13 outputHashes = {
14 "nostr-0.44.1" = 14 "nostr-0.44.1" = "sha256-DwcWmwxNUQRR32E3hqbm7PNkGdK8LB3sGtH1Zfrkigk=";
15 "sha256-02cawkx6bxfi3bn1sb5ws8cn9wzcwsk8cdv1vx8h8lad1jdic1qg";
16 }; 15 };
17 }; 16 };
18 17