From 29418b74796da22445b51591a604ee6ebc8d8b70 Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Tue, 28 Sep 2021 15:20:17 +0200 Subject: util: Add Nix shell file Add a Nix shell file which is able to compile flashrom. Change-Id: I9757b952f4b034e98c2b4b70fbede52d8efb9d50 Signed-off-by: Felix Singer Reviewed-on: https://review.coreboot.org/c/flashrom/+/58012 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber --- util/shell.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 util/shell.nix diff --git a/util/shell.nix b/util/shell.nix new file mode 100644 index 00000000..d6ddf817 --- /dev/null +++ b/util/shell.nix @@ -0,0 +1,16 @@ +with import {}; + +stdenv.mkDerivation { + name = "flashrom"; + + buildInputs = [ + cmocka + libftdi1 +# libjaylink # Will be added in NixOS 21.11 + libusb1 + meson + ninja + pciutils + pkg-config + ]; +} -- cgit v1.2.3