about summary refs log tree commit diff
path: root/pkgs/tools/system/pciutils
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2021-02-17 06:14:47 +0000
committerGitHub <noreply@github.com>2021-02-17 06:14:47 +0000
commit3ed237717a89c5aaf617ce3ae23a2876c7f36de8 (patch)
tree3cf4b91e80c7aeafc2d734eb3345492da4a69e05 /pkgs/tools/system/pciutils
parent79b7a67b55ee7f22a796720643ec8b1b65b2f8ed (diff)
parentbf11a28bd3abc5fdd6e830bceff7dd06daa72d73 (diff)
Merge master into staging-next
Diffstat (limited to 'pkgs/tools/system/pciutils')
-rw-r--r--pkgs/tools/system/pciutils/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/system/pciutils/default.nix b/pkgs/tools/system/pciutils/default.nix
index a89de032abd79..20a9631117659 100644
--- a/pkgs/tools/system/pciutils/default.nix
+++ b/pkgs/tools/system/pciutils/default.nix
@@ -1,6 +1,6 @@
 { lib, stdenv, fetchurl, pkg-config, zlib, kmod, which
 , static ? stdenv.hostPlatform.isStatic
-, darwin ? null
+, IOKit
 }:
 
 stdenv.mkDerivation rec {
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
 
   nativeBuildInputs = [ pkg-config ];
   buildInputs = [ zlib kmod which ] ++
-    lib.optional stdenv.hostPlatform.isDarwin darwin.apple_sdk.frameworks.IOKit;
+    lib.optional stdenv.hostPlatform.isDarwin IOKit;
 
   preConfigure = if stdenv.cc.isGNU then null else ''
     substituteInPlace Makefile --replace 'CC=$(CROSS_COMPILE)gcc' ""