diff options
author | Peter Simons <simons@cryp.to> | 2020-03-06 20:39:21 +0100 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2020-03-06 22:15:14 +0100 |
commit | adcd693c2c6da979717ea5e73ae6c0fca03aedf2 (patch) | |
tree | b9eee712ceae39dec0dcc5d49f147b1b1270a612 /pkgs/development/haskell-modules | |
parent | 46a81f9a15c52b2391b45bd3b24432dc547209d4 (diff) | |
download | nixlib-adcd693c2c6da979717ea5e73ae6c0fca03aedf2.tar nixlib-adcd693c2c6da979717ea5e73ae6c0fca03aedf2.tar.gz nixlib-adcd693c2c6da979717ea5e73ae6c0fca03aedf2.tar.bz2 nixlib-adcd693c2c6da979717ea5e73ae6c0fca03aedf2.tar.lz nixlib-adcd693c2c6da979717ea5e73ae6c0fca03aedf2.tar.xz nixlib-adcd693c2c6da979717ea5e73ae6c0fca03aedf2.tar.zst nixlib-adcd693c2c6da979717ea5e73ae6c0fca03aedf2.zip |
haskell-cryptonite: disable the test suite to fix the build on older CPUs
Machines without AES-NI support cannot run the binary.
Diffstat (limited to 'pkgs/development/haskell-modules')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-common.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 123493a7694b..328df794a8e9 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -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 |