From f8d60b102bd6eeae5f632b768ff5cfbd7d744723 Mon Sep 17 00:00:00 2001 From: reo101 Date: Tue, 27 May 2025 08:44:44 +0000 Subject: feat(flake)!: use `fenix`-provided Rust toolchain - Partly from --- flake.nix | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index de8ead5..ccbe0c5 100644 --- a/flake.nix +++ b/flake.nix @@ -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; -- cgit v1.2.3