haskell-cryptonite: disable the test suite to fix the build on older CPUs

Machines without AES-NI support cannot run the binary.
This commit is contained in:
Peter Simons 2020-03-06 20:39:21 +01:00
parent 46a81f9a15
commit adcd693c2c

@ -1453,4 +1453,11 @@ self: super: {
# https://github.com/phadej/binary-orphans/issues/45
binary-instances = dontCheck super.binary-instances;
# Disabling the test suite lets the build succeed on older CPUs
# that are unable to run the generated library because they
# lack support for AES-NI, like some of our Hydra build slaves
# do. See https://github.com/NixOS/nixpkgs/issues/81915 for
# details.
cryptonite = dontCheck super.cryptonite;
} // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super