diff options
author | figsoda <figsoda@pm.me> | 2023-05-29 19:40:16 -0400 |
---|---|---|
committer | figsoda <figsoda@pm.me> | 2023-05-29 19:40:16 -0400 |
commit | 2014fdae3dbe7fbaad6eb21b1a9df320bbd33fb5 (patch) | |
tree | b32143d2b78f2d1a705345985bbc90f00bc43aa8 | |
parent | 8d91de51459123b82c8b7728185b309a2a9e09ba (diff) | |
download | nixpkgs-2014fdae3dbe7fbaad6eb21b1a9df320bbd33fb5.tar nixpkgs-2014fdae3dbe7fbaad6eb21b1a9df320bbd33fb5.tar.gz nixpkgs-2014fdae3dbe7fbaad6eb21b1a9df320bbd33fb5.tar.bz2 nixpkgs-2014fdae3dbe7fbaad6eb21b1a9df320bbd33fb5.tar.lz nixpkgs-2014fdae3dbe7fbaad6eb21b1a9df320bbd33fb5.tar.xz nixpkgs-2014fdae3dbe7fbaad6eb21b1a9df320bbd33fb5.tar.zst nixpkgs-2014fdae3dbe7fbaad6eb21b1a9df320bbd33fb5.zip |
flashrom: don't use lib.optional with a list
-rw-r--r-- | pkgs/tools/misc/flashrom/default.nix | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/tools/misc/flashrom/default.nix b/pkgs/tools/misc/flashrom/default.nix index 3bd04051263..6463595c28c 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 = '' |