aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorKamen Mladenov <kamen@syndamia.com>2025-04-14 09:45:51 +0300
committerKamen Mladenov <kamen@syndamia.com>2025-04-14 13:40:57 +0300
commit230defc3f58161234f8752e98ecf11725c85860d (patch)
treecdeb910a122661bd8da1d245e10fc61d3ba41304 /flake.nix
parentd37015ed2e03848fa4b7947c6cfa3952c17b97d9 (diff)
downloadzkVMs-benchmarks-230defc3f58161234f8752e98ecf11725c85860d.tar
zkVMs-benchmarks-230defc3f58161234f8752e98ecf11725c85860d.tar.gz
zkVMs-benchmarks-230defc3f58161234f8752e98ecf11725c85860d.zip
feat(update-nix-dependencies): Use flake's nix-blockchain-development instead of default
To get the new Nix outPaths for all zkVMs, we used to execute a `nix run` command, which found the paths from the nix-blockchain-development repo, default branch on latest commit. Since that could differ from what repo our flake actually uses, we're updating the logic.
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index b815571..ab5fadd 100644
--- a/flake.nix
+++ b/flake.nix
@@ -74,8 +74,11 @@
}) { } guests;
in {
packages.${system} = hostPackages // guestPackages // {
- rust-format-all = callPackage ./rust-format-all.nix { };
- update-nix-dependencies = callPackage ./update-nix-dependencies.nix { };
+ rust-format-all = callPackage ./rust-format-all.nix {
+ };
+ update-nix-dependencies = callPackage ./update-nix-dependencies.nix {
+ zkvms = builtins.map (name: mcl-blockchain.packages.${system}.${name}) zkvms;
+ };
};
formatter.${system} = pkgs.nixfmt;