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
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue