diff --git a/.github/workflows/bench-primitives.yml b/.github/workflows/bench-primitives.yml index c2a6234..b0edaf1 100644 --- a/.github/workflows/bench-primitives.yml +++ b/.github/workflows/bench-primitives.yml @@ -67,7 +67,7 @@ jobs: - name: 🏃🏻‍♀️ Benchmarks (using Nix as shell) working-directory: ciphers - run: nix develop ".#devShells.${{ matrix.system }}.benchmark" --command cargo bench -F bench --bench primitives --verbose $RUST_TARGET_FLAG -- --output-format bencher | tee ../bench-primitives.txt + run: nix develop --command cargo bench -F bench --bench primitives --verbose $RUST_TARGET_FLAG -- --output-format bencher | tee ../bench-primitives.txt - name: Extract benchmarks uses: cryspen/benchmark-data-extract-transform@v2 diff --git a/.github/workflows/bench-protocol.yml b/.github/workflows/bench-protocol.yml index 881d12d..6a66f74 100644 --- a/.github/workflows/bench-protocol.yml +++ b/.github/workflows/bench-protocol.yml @@ -66,7 +66,7 @@ jobs: # Benchmarks ... - name: 🏃🏻‍♀️ Benchmarks - run: nix develop ".#devShells.${{ matrix.system }}.benchmark" --command cargo bench -p rosenpass --bench trace_handshake -F trace_bench --verbose $RUST_TARGET_FLAG >bench-protocol.json + run: nix develop --command cargo bench -p rosenpass --bench trace_handshake -F trace_bench --verbose $RUST_TARGET_FLAG >bench-protocol.json - name: Upload benchmarks uses: cryspen/benchmark-upload-and-plot-action@v3 diff --git a/flake.nix b/flake.nix index 4b3413f..8ae3fad 100644 --- a/flake.nix +++ b/flake.nix @@ -173,15 +173,6 @@ inherit (pkgs.cargo-llvm-cov) LLVM_COV LLVM_PROFDATA; }; }; - devShells.benchmark = pkgs.mkShell { - inputsFrom = [ pkgs.rosenpass ]; - nativeBuildInputs = let - rustToolchain = (inputs.fenix.packages.${system}.toolchainOf { - channel = "1.77.0"; - sha256 = "sha256-+syqAd2kX8KVa8/U2gz3blIQTTsYYt3U63xBWaGOSc8="; - }); - in [ rustToolchain.toolchain ]; - }; checks = {