From 3ad029d46fc39a337557243ea6eee704bb7f22d6 Mon Sep 17 00:00:00 2001 From: figsoda Date: Wed, 23 Nov 2022 10:17:40 -0500 Subject: [PATCH] add shell.nix for benchmarks --- benchmarks/shell.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 benchmarks/shell.nix diff --git a/benchmarks/shell.nix b/benchmarks/shell.nix new file mode 100644 index 0000000..f7f37ae --- /dev/null +++ b/benchmarks/shell.nix @@ -0,0 +1,22 @@ +{ pkgs ? import { } }: + +with pkgs; + +let + ouch = rustPlatform.buildRustPackage { + pname = "ouch"; + inherit ((lib.importTOML ../Cargo.toml).package) version; + src = ../.; + cargoLock.lockFile = ../Cargo.lock; + }; +in + +mkShell { + packages = [ + gnutar + hyperfine + ouch + unzip + zip + ]; +}