From 2014fdae3dbe7fbaad6eb21b1a9df320bbd33fb5 Mon Sep 17 00:00:00 2001 From: figsoda <figsoda@pm.me> Date: Mon, 29 May 2023 19:40:16 -0400 Subject: [PATCH] flashrom: don't use lib.optional with a list --- pkgs/tools/misc/flashrom/default.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkgs/tools/misc/flashrom/default.nix b/pkgs/tools/misc/flashrom/default.nix index 3bd040512631..6463595c28c8 100644 --- a/pkgs/tools/misc/flashrom/default.nix +++ b/pkgs/tools/misc/flashrom/default.nix @@ -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 = ''