Skip to content
This repository has been archived by the owner on Apr 12, 2021. It is now read-only.

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.
  • Loading branch information
dhess committed Oct 15, 2018
1 parent c8a59e8 commit 321626d
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 @@ -676,6 +676,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 321626d

Please sign in to comment.