You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Older versions of GHC does not load system frameworks properly on macOS Big Sur. This causes a failure when building the purescript project on the Big Sur.
Looks like there are fixes for GHC 8.8 and 8.10. But purescript project is on 8.6.5.
To Reproduce
$ make install
STACK_YAML="stack.yaml" stack install
Getting project config file from STACK_YAML environment
Cabal file warning in/Users/jvliwanag/workspace/haskell/purescript/purescript.cabal@10:27: version with tags
Building all executables for `purescript' once. After a successful build of all of them, only specified executables will be rebuilt.
purescript> configure (lib + exe)
purescript> Warning: purescript.cabal:0:0: version with tags
purescript> Configuring purescript-0.14.0...
purescript> build (lib + exe)
purescript> Preprocessing library for purescript-0.14.0..
purescript> Building library for purescript-0.14.0..
purescript> [ 22 of 132] Compiling Language.PureScript.Docs.Css
purescript> <command line>: can't load framework: Cocoa (not found)
-- While building package purescript-0.14.0 (scroll up to its section to see the error) using:
/Users/jvliwanag/.stack/setup-exe-cache/x86_64-osx/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5 --builddir=.stack-work/dist/x86_64-osx/Cabal-2.4.0.1 build lib:purescript exe:purs --ghc-options " -fdiagnostics-color=always"
Process exited with code: ExitFailure 1
make: *** [install] Error 1
Expected behavior
Build success
PureScript version
0.14.0-rc3
The text was updated successfully, but these errors were encountered:
Description
Older versions of GHC does not load system frameworks properly on macOS Big Sur. This causes a failure when building the purescript project on the Big Sur.
Details here - https://gitlab.haskell.org/ghc/ghc/-/issues/18446
Looks like there are fixes for GHC 8.8 and 8.10. But purescript project is on 8.6.5.
To Reproduce
Expected behavior
Build success
PureScript version
0.14.0-rc3
The text was updated successfully, but these errors were encountered: