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
|
||||
, fetchpatch
|
||||
, stdenv
|
||||
, installShellFiles
|
||||
, lib
|
||||
|
@ -22,7 +21,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
nativeBuildInputs = [ pkg-config installShellFiles ];
|
||||
buildInputs = [ libftdi1 libusb1 ]
|
||||
++ lib.optional (!stdenv.isDarwin) [ pciutils ]
|
||||
++ lib.optionals (!stdenv.isDarwin) [ pciutils ]
|
||||
++ lib.optional jlinkSupport libjaylink;
|
||||
|
||||
postPatch = ''
|
||||
|
|
Loading…
Reference in a new issue