flashrom: don't use lib.optional with a list
This commit is contained in:
parent
8d91de5145
commit
2014fdae3d
1 changed files with 1 additions and 2 deletions
|
@ -1,5 +1,4 @@
|
||||||
{ fetchurl
|
{ fetchurl
|
||||||
, fetchpatch
|
|
||||||
, stdenv
|
, stdenv
|
||||||
, installShellFiles
|
, installShellFiles
|
||||||
, lib
|
, lib
|
||||||
|
@ -22,7 +21,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config installShellFiles ];
|
nativeBuildInputs = [ pkg-config installShellFiles ];
|
||||||
buildInputs = [ libftdi1 libusb1 ]
|
buildInputs = [ libftdi1 libusb1 ]
|
||||||
++ lib.optional (!stdenv.isDarwin) [ pciutils ]
|
++ lib.optionals (!stdenv.isDarwin) [ pciutils ]
|
||||||
++ lib.optional jlinkSupport libjaylink;
|
++ lib.optional jlinkSupport libjaylink;
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
|
Loading…
Reference in a new issue