pcieutils: remove darwin from inputs
This commit is contained in:
parent
8e2686fd24
commit
90da3103d9
pkgs
|
@ -1,6 +1,6 @@
|
||||||
{ lib, stdenv, fetchurl, pkg-config, zlib, kmod, which
|
{ lib, stdenv, fetchurl, pkg-config, zlib, kmod, which
|
||||||
, static ? stdenv.hostPlatform.isStatic
|
, static ? stdenv.hostPlatform.isStatic
|
||||||
, darwin ? null
|
, IOKit
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
buildInputs = [ zlib kmod which ] ++
|
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 ''
|
preConfigure = if stdenv.cc.isGNU then null else ''
|
||||||
substituteInPlace Makefile --replace 'CC=$(CROSS_COMPILE)gcc' ""
|
substituteInPlace Makefile --replace 'CC=$(CROSS_COMPILE)gcc' ""
|
||||||
|
|
|
@ -6992,7 +6992,9 @@ in
|
||||||
|
|
||||||
pcimem = callPackage ../os-specific/linux/pcimem { };
|
pcimem = callPackage ../os-specific/linux/pcimem { };
|
||||||
|
|
||||||
pciutils = callPackage ../tools/system/pciutils { };
|
pciutils = callPackage ../tools/system/pciutils {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) IOKit;
|
||||||
|
};
|
||||||
|
|
||||||
pcsclite = callPackage ../tools/security/pcsclite {
|
pcsclite = callPackage ../tools/security/pcsclite {
|
||||||
inherit (darwin.apple_sdk.frameworks) IOKit;
|
inherit (darwin.apple_sdk.frameworks) IOKit;
|
||||||
|
|
Loading…
Reference in New Issue