I'm on macOS Monterey (x64), and installed GHC 9.8.2 not using Homebrew, but with ghcup: curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh
Running ghcup, this is what I have: ghcup 0.1.22.0 stack 2.15.5 HLS 2.7.0.0 cabal 3.10.3.0 ghc 9.8.2 Then I ran these 2 commands to install snap: $ cabal update $ cabal install snap snap-templates Once done, let's create a project (described in http://snapframework.com/docs/quickstart): $ mkdir snapdemo01 $ cd snapdemo01 $ snap init snapdemo01 $ cabal install Error: cabal: Could not resolve dependencies: [__0] trying: snapdemo01-0.1 (user goal) [__1] next goal: bytestring (dependency of snapdemo01) [__1] rejecting: bytestring-0.12.1.0/installed-ab96 (conflict: snapdemo01 => bytestring>=0.9.1 && <0.11) [__1] skipping: bytestring-0.12.1.0, bytestring-0.12.0.2, bytestring-0.12.0.1, bytestring-0.12.0.0, bytestring-0.11.5.3, bytestring-0.11.5.2, bytestring-0.11.5.1, bytestring-0.11.5.0, bytestring-0.11.4.0, bytestring-0.11.3.1, bytestring-0.11.3.0, bytestring-0.11.2.0, bytestring-0.11.1.0, bytestring-0.11.0.0 (has the same characteristics that caused the previous version to fail: excluded by constraint '>=0.9.1 && <0.11' from 'snapdemo01') [__1] trying: bytestring-0.10.12.1 [__2] next goal: base (dependency of snapdemo01) [__2] rejecting: base-4.19.1.0/installed-654f (conflict: bytestring => base>=4.2 && <4.16) [__2] skipping: base-4.20.0.1, base-4.20.0.0, base-4.19.1.0, base-4.19.0.0, base-4.18.2.1, base-4.18.2.0, base-4.18.1.0, base-4.18.0.0, base-4.17.2.1, base-4.17.2.0, base-4.17.1.0, base-4.17.0.0, base-4.16.4.0, base-4.16.3.0, base-4.16.2.0, base-4.16.1.0, base-4.16.0.0 (has the same characteristics that caused the previous version to fail: excluded by constraint '>=4.2 && <4.16' from 'bytestring') [__2] rejecting: base-4.15.1.0, base-4.15.0.0, base-4.14.3.0, base-4.14.2.0, base-4.14.1.0, base-4.14.0.0, base-4.13.0.0, base-4.12.0.0, base-4.11.1.0, base-4.11.0.0, base-4.10.1.0, base-4.10.0.0, base-4.9.1.0, base-4.9.0.0, base-4.8.2.0, base-4.8.1.0, base-4.8.0.0, base-4.7.0.2, base-4.7.0.1, base-4.7.0.0, base-4.6.0.1, base-4.6.0.0, base-4.5.1.0, base-4.5.0.0, base-4.4.1.0, base-4.4.0.0, base-4.3.1.0, base-4.3.0.0, base-4.2.0.2, base-4.2.0.1, base-4.2.0.0, base-4.1.0.0, base-4.0.0.0, base-3.0.3.2, base-3.0.3.1 (constraint from non-upgradeable package requires installed instance) [__2] fail (backjumping, conflict set: base, bytestring, snapdemo01) After searching the rest of the dependency tree exhaustively, these were the goals I've had most trouble fulfilling: bytestring, base, snapdemo01 How to solve this? Perhaps I need to use an older GHC? -- --- You received this message because you are subscribed to the Google Groups "Snap Framework" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/snap_framework/a5e6090e-8dd2-487e-8918-949ee758a552n%40googlegroups.com.
