mirror of
https://github.com/ouch-org/ouch.git
synced 2025-06-03 10:00:19 +00:00
add shell.nix for benchmarks
This commit is contained in:
parent
56c91078df
commit
3ad029d46f
22
benchmarks/shell.nix
Normal file
22
benchmarks/shell.nix
Normal file
@ -0,0 +1,22 @@
|
||||
{ pkgs ? import <nixpkgs> { } }:
|
||||
|
||||
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
|
||||
];
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user