Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 13 additions & 5 deletions scrypt.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,19 @@ source-repository head
library
exposed-modules: Crypto.Scrypt
hs-source-dirs: src
build-depends:
base == 4.*,
base64-bytestring >= 0.1,
bytestring >= 0.9,
entropy >= 0.2

if arch(x86_64)
build-depends:
base == 4.*,
base64-bytestring >= 0.1,
bytestring >= 0.9,
entropy >= 0.2
else
-- The underlying C library requires SSE and related instructions which
-- are only available on x86_64, so we make this unbuildable on other
-- arches.
build-depends:
base < 0

ghc-options: -Wall
ghc-prof-options: -auto-all
Expand Down