Merge pull request #95363 from lopsided98/crda-cross

crda: fix cross compilation
This commit is contained in:
Matthew Bauer 2020-08-17 16:24:35 -05:00 committed by GitHub
commit d2fce26c40
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, fetchpatch, libgcrypt, libnl, pkgconfig, python3, wireless-regdb }:
{ stdenv, fetchurl, fetchpatch, libgcrypt, libnl, pkgconfig, python3Packages, wireless-regdb }:
stdenv.mkDerivation rec {
pname = "crda";
@ -25,8 +25,7 @@ stdenv.mkDerivation rec {
buildInputs = [ libgcrypt libnl ];
nativeBuildInputs = [
pkgconfig
python3
python3.pkgs.pycrypto
python3Packages.pycrypto
];
postPatch = ''