hnix-store-core fails to build with GHC 9.0.1
sjakobi opened this issue · 4 comments
sjakobi commented
…when I use --allow-newer=base
to circumvent the bounds in the cryptohash-
packages:
src/System/Nix/ReadonlyStore.hs:60:12: error:
• Syntax error on 'SHA256
Perhaps you intended to use TemplateHaskell or TemplateHaskellQuotes
• In the Template Haskell quotation 'SHA256
|
60 | hash @ 'SHA256
| ^^^^^^^
<no location info>: warning: [-Wunused-packages]
The following packages were specified via -package or -package-id flags,
but were not needed for compilation:
- nix-derivation-1.1.1
Not sure what the warning regarding nix-derivation
is about…
sjakobi commented
The syntax error might be related to https://gitlab.haskell.org/ghc/ghc/-/wikis/migration/9.0#whitespace-sensitive-and-
Anton-Latukha commented
Would keep it open, until migrated away from cryptohash-*
(currently working on it).
Additional raw anecdote is - https://packdeps.haskellers.com/reverse/cryptohash-sha256 has cabal-install
.
Anton-Latukha commented
sjakobi commented
Nice progress, @Anton-Latukha! 💪 😄