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:55 +0000
committerGitHub <noreply@github.com>2021-02-17 06:14:55 +0000
commitcd9df16806cf168a7dbc510432b9233d993d3ab1 (patch)
treeee65c0cc102236919ee4da4605640217d8be30fc /pkgs/tools/system/pciutils
parent0d489fc753d2620a798b1fc3af82f1bdf72e6dd7 (diff)
parent3ed237717a89c5aaf617ce3ae23a2876c7f36de8 (diff)
Merge staging-next into staging
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 af9ef68dc24d8..8c017c42d7a38 100644
--- a/pkgs/tools/system/pciutils/default.nix
+++ b/pkgs/tools/system/pciutils/default.nix
@@ -1,7 +1,7 @@
 { lib, stdenv, fetchurl, pkg-config, zlib, kmod, which
 , hwdata
 , static ? stdenv.hostPlatform.isStatic
-, darwin ? null
+, IOKit
 }:
 
 stdenv.mkDerivation rec {
@@ -14,7 +14,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' ""