

GHCup does a lot of symlink handling to expose a central bin/ directory that users can easily put in PATH, without having to worry about anything more. It seems the codebases are fairly different.

HASKELL STACK UPGRADE
There may be a number of bugs when trying to make ghcup installed GHC versions work with stack,įurther, stack's upgrade procedure may break/confuse ghcup.
HASKELL STACK HOW TO
On how to prepare your environment for building GHC. To figure out whether you have the correct toolchain and Compilation Īlthough this script can compile GHC for you, it's just a very thin
HASKELL STACK INSTALL
To mitigate this you might have to install the libnuma This was a bug in the build system of some GHC versions that lead to Try to compile from source via ghcup compile. Ncurses and has no compatibility symlinks in place.Īsk your distributor on how to solve this or Your distribution doesn't use the legacy way of building You may run into problems with ncurses and missing libtinfo, in case Since this uses precompiled binaries you may run into Limited distributions supported Ĭurrently only GNU/Linux distributions compatible with the upstream GHC binaries are supported.

This problem doesn't exist for regularly installed GHC versions.
HASKELL STACK FULL
Instead, point it to the full path, such as:Ĭabal build -with-compiler=$HOME/.ghcup/ghc//bin/ghc or set that GHC version If you use cabal build -with-compiler=ghc-foo. Installing custom bindists, then cabal mightīe unable to find the correct ghc-pkg (also see #73) When installing ghc bindists with custom version names as outlined in Known problems Custom ghc version names This uses precompiled GHC binaries that have been compiled on fedora/debian by upstream GHC.Īlternatively, you can also tell it to compile from source (note that this might fail due to missing requirements).Ĭabal-install/HLS/stack are installed in ~/.ghcup/bin/- and have unversioned symlinks to the latest version by default ( ~/.ghcup/bin/-).

Optionally, an unversioned ghc link can point to a default version of your choice. Installs a specified GHC version into ~/.ghcup/ghc/, and places ghc- symlinks in ~/.ghcup/bin/. invoking sudo, apt-get or any package manager.do one thing and do it well (UNIX philosophy).if you want to donate to the project, visit our opencollective page.if you want to propose features or write user feedback, feel free to open a ticket.if you want to contribute code or documentation, check out the issue tracker and the Development guide.Julian Ospald (aka: maerwald, hasufell).
