botan: fix cross compilation on aarch64

Signed-off-by: Markus Theil <theil.markus@gmail.com>

+3 -2
+3 -2
pkgs/development/libraries/botan/generic.nix
··· 29 29 patches = extraPatches; 30 30 inherit postPatch; 31 31 32 - buildInputs = [ python3 bzip2 zlib gmp boost ] 32 + nativeBuildInputs = [ python3 ]; 33 + buildInputs = [ bzip2 zlib gmp boost ] 33 34 ++ lib.optionals stdenv.isDarwin [ CoreServices Security ]; 34 35 35 36 configurePhase = '' 36 37 runHook preConfigure 37 - python configure.py --prefix=$out --with-bzip2 --with-zlib ${extraConfigureFlags}${lib.optionalString stdenv.cc.isClang " --cc=clang"} 38 + python configure.py --prefix=$out --with-bzip2 --with-zlib ${extraConfigureFlags}${lib.optionalString stdenv.cc.isClang " --cc=clang"} ${lib.optionalString stdenv.hostPlatform.isAarch64 " --cpu=aarch64"} 38 39 runHook postConfigure 39 40 ''; 40 41