mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-14 09:37:40 +00:00
openocd: libgpiod is supported only on linux (#143652)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
78181768e6
commit
c8f8adc5ec
@ -18,7 +18,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ hidapi libftdi1 libusb1 libgpiod ];
|
||||
buildInputs = [ hidapi libftdi1 libusb1 ]
|
||||
++ lib.optional stdenv.isLinux libgpiod;
|
||||
|
||||
configureFlags = [
|
||||
"--enable-jtag_vpi"
|
||||
|
Loading…
Reference in New Issue
Block a user