Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

Merge pull request #246375 from thillux/botan-cross-aarch64

botan: fix cross compilation on aarch64

authored by 7c6f434c and committed by GitHub 356c6dcd 714bd4a3

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