diff options
| author | reo101 <pavel.atanasov2001@gmail.com> | 2025-05-27 08:44:44 +0000 |
|---|---|---|
| committer | Aristotelis <52610192+Aristotelis2002@users.noreply.github.com> | 2025-05-27 16:27:32 +0300 |
| commit | f8d60b102bd6eeae5f632b768ff5cfbd7d744723 (patch) | |
| tree | e48f2f3d85d3315e69e18d5839dff0151da96578 /flake.nix | |
| parent | 9933c053d93ed9e92835956b0a3aba8b7be51a6c (diff) | |
| download | zkVMs-benchmarks-f8d60b102bd6eeae5f632b768ff5cfbd7d744723.tar zkVMs-benchmarks-f8d60b102bd6eeae5f632b768ff5cfbd7d744723.tar.gz zkVMs-benchmarks-f8d60b102bd6eeae5f632b768ff5cfbd7d744723.zip | |
feat(flake)!: use `fenix`-provided Rust toolchain
- Partly from <https://github.com/blocksense-network/zkVMs-benchmarks/pull/32>
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 18 |
1 files changed, 17 insertions, 1 deletions
@@ -102,8 +102,24 @@ devShells.default = pkgs.mkShell { buildInputs = with pkgs; [ - rustup + (fenix.stable.withComponents [ + "cargo" + "clippy" + "rust-src" + "rustc" + "rustfmt" + "rust-analyzer" + ]) + + # Possibly required system libraries by Rust crypto/networking crates + pkg-config + openssl ]; + + shellHook = '' + echo "zkVMs benchmarks development environment" + echo "Available packages: ${builtins.concatStringsSep ", " (builtins.attrNames hostPackages)}" + ''; }; formatter = pkgs.nixfmt-rfc-style; |
