haskellPackages.crypt-sha512: fix build with libxcrypt

and disable tests due to different ehaviour exhibited compared to
glibc when a low number of rounds is passed.

https://github.com/phadej/crypt-sha512/issues/13
This commit is contained in:
Martin Weinelt 2022-10-02 20:12:48 +02:00
parent 842a2c2399
commit 284396cf04
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -2531,6 +2531,16 @@ self: super: {
# Restrictive upper bound on base.
# Remove once version 1.* is released
monad-bayes = doJailbreak super.monad-bayes;
crypt-sha512 = overrideCabal (drv: {
librarySystemDepends = [
pkgs.libxcrypt
];
# Test failure after libxcrypt migration, reported upstrem at
# https://github.com/phadej/crypt-sha512/issues/13
doCheck = false;
}) super.crypt-sha512;
} // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super // (let
# We need to build purescript with these dependencies and thus also its reverse
# dependencies to avoid version mismatches in their dependency closure.