Revert "hidapi: fix cross build"
Not needed when using buildPackages.autoreconfHook
This reverts commit f6514239ee
.
This commit is contained in:
parent
e823016e66
commit
08668447e2
1 changed files with 2 additions and 10 deletions
|
@ -1,7 +1,5 @@
|
|||
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, udev, libusb1
|
||||
, darwin
|
||||
, gnum4
|
||||
}:
|
||||
, darwin }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "hidapi";
|
||||
|
@ -14,13 +12,7 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "1nr4z4b10vpbh3ss525r7spz4i43zim2ba5qzfl15dgdxshxxivb";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
pkgconfig
|
||||
] ++ stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
|
||||
# Could be added always, but added conditionally here to avoid large rebuild
|
||||
gnum4
|
||||
];
|
||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||
|
||||
buildInputs = [ ]
|
||||
++ stdenv.lib.optionals stdenv.isLinux [ libusb1 udev ];
|
||||
|
|
Loading…
Reference in a new issue