Merge master into staging-next

This commit is contained in:
github-actions[bot]
2021-02-17 06:14:47 +00:00
committed by GitHub
94 changed files with 777 additions and 649 deletions
+2 -2
View File
@@ -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' ""