Skip to content

Commit 538e3a5

Browse files
committed
feat: switch from cargoHash to cargoLock
1 parent 6c06174 commit 538e3a5

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

flake.nix

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,15 @@
5757
# export SUBSTRATE_CLI_GIT_COMMIT_HASH=${dirtyShortRev or shortRev}
5858
# '';
5959

60-
useFetchCargoVendor = true;
61-
cargoHash = "sha256-k1GYY0eB/fRmAuWYlxLCGaAgJW89KLOiyiLBO2wtsZM=";
60+
useFetchCargoVendor = false;
61+
#cargoHash = "sha256-Kg8Z4IWJZ2Ml70JUf8dmIYI6QSYVflq+0lCk790taAc=";
62+
cargoLock = {
63+
lockFile = ./Cargo.lock;
64+
outputHashes = {
65+
"binary-merkle-tree-16.0.0" = "sha256-Yt0KWRMOG53hxdMZvYA60hQ4Vsfkk1R5lv+dd+mzcNI=";
66+
"raw-scripts-7.2.1" = "sha256-HTi/mubyBz7dAeLXekexikZZaOHkoI32oUQgmnFe2YM=";
67+
};
68+
};
6269
buildType = "production";
6370
#buildAndTestSubdir = dir;
6471
doCheck = false;

0 commit comments

Comments
 (0)