diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2026-01-11 15:47:11 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2026-01-11 15:47:11 +0000 |
| commit | c9a8b2a3b78babcdfbd178e374bb68c46dbdea4b (patch) | |
| tree | 66938bd75c38e3d726100df5b1a111d9bec56ad2 /nix | |
| parent | 51a3d810d2a73a6300c51d3baf6060bb33f6b92c (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'
Diffstat (limited to 'nix')
| -rw-r--r-- | nix/module.nix | 3 |
1 files changed, 1 insertions, 2 deletions
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 | ||