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

botan{2,3}: always set --cpu, fix cross compilation

+1 -3
+1 -3
pkgs/development/libraries/botan/default.nix
··· 79 "--with-bzip2" 80 "--with-zlib" 81 "--with-rst2man" 82 ] 83 ++ lib.optionals stdenv.cc.isClang [ 84 "--cc=clang" 85 - ] 86 - ++ lib.optionals stdenv.hostPlatform.isAarch64 [ 87 - "--cpu=aarch64" 88 ] 89 ++ lib.optionals (lib.versionAtLeast version "3.6.0") [ 90 "--enable-modules=jitter_rng"
··· 79 "--with-bzip2" 80 "--with-zlib" 81 "--with-rst2man" 82 + "--cpu=${stdenv.hostPlatform.parsed.cpu.name}" 83 ] 84 ++ lib.optionals stdenv.cc.isClang [ 85 "--cc=clang" 86 ] 87 ++ lib.optionals (lib.versionAtLeast version "3.6.0") [ 88 "--enable-modules=jitter_rng"