crda: fix cross compilation

This commit is contained in:
Ben Wolsieffer 2020-08-12 18:46:28 -04:00
parent 466d6fc700
commit 53cdb95d10

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 = ''