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 { stdenv.mkDerivation rec {
pname = "crda"; pname = "crda";
@ -25,8 +25,7 @@ stdenv.mkDerivation rec {
buildInputs = [ libgcrypt libnl ]; buildInputs = [ libgcrypt libnl ];
nativeBuildInputs = [ nativeBuildInputs = [
pkgconfig pkgconfig
python3 python3Packages.pycrypto
python3.pkgs.pycrypto
]; ];
postPatch = '' postPatch = ''