1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-04-29 07:53:44 +02:00

util: Add Nix shell file

Add a Nix shell file which is able to compile flashrom.

Change-Id: I9757b952f4b034e98c2b4b70fbede52d8efb9d50
Signed-off-by: Felix Singer <felix.singer@secunet.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/58012
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:
Felix Singer 2021-09-28 15:20:17 +02:00 committed by Nico Huber
parent a2d09ca893
commit 29418b7479

16
util/shell.nix Normal file
View File

@ -0,0 +1,16 @@
with import <nixpkgs> {};
stdenv.mkDerivation {
name = "flashrom";
buildInputs = [
cmocka
libftdi1
# libjaylink # Will be added in NixOS 21.11
libusb1
meson
ninja
pciutils
pkg-config
];
}