Skip to content

Commit

Permalink
haskellPackages.cryptonite: fix for aarch64.
Browse files Browse the repository at this point in the history
This is a cherry-pick from upstream (see
haskell-crypto/cryptonite#234); there has
been no upstream release since the fix was committed.

(cherry picked from commit 321626d)
Backport of #48485
  • Loading branch information
dhess authored and srhb committed Oct 15, 2018
1 parent fbb068d commit 67a7354
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkgs/development/haskell-modules/configuration-common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -675,6 +675,14 @@ self: super: {
# https://github.com/goldfirere/singletons/issues/122
singletons = dontCheck super.singletons;

# Fix an aarch64 issue with cryptonite-0.25:
# https://github.com/haskell-crypto/cryptonite/issues/234
# This has been committed upstream, but there is, as of yet, no new release.
cryptonite = appendPatch super.cryptonite (pkgs.fetchpatch {
url = https://github.com/haskell-crypto/cryptonite/commit/4622e5fc8ece82f4cf31358e31cd02cf020e558e.patch;
sha256 = "1m2d47ni4jbrpvxry50imj91qahr3r7zkqm157clrzlmw6gzpgnq";
});

# We cannot build this package w/o the C library from <http://www.phash.org/>.
phash = markBroken super.phash;

Expand Down

0 comments on commit 67a7354

Please sign in to comment.