This is a Haskell template configured for ephemeral development environments on Gitpod.
Click the button below to start a new development environment:
Click the above "Open in Gitpod" button to start a new workspace. Once you're ready to push your first code changes, Gitpod will guide you to fork this project so you own it.
If you have an existing project and you want to create a gitpod environment for it, you need to follow and take into account these considerations.
- This repo's Dockerfile completely overwrites the
cabal
andstack
files when building the container. This means, that if you simply copy-paste the.gitpod.Dockerfile
, yourcabal
/stack
files will disappear. Follow the instructions within.gitpod.Dockerfile
to change this behaviour. - This repo uses
ghcup
to install all the tooling. Alternative installation isn't recommended. - If you are using
stack
it is highly recommended to disallow it from installingghc
on its own. Otherwise, you'll encounter problems when integrating withhaskell-language-protocol
. To configurestack
properly, run the following:stack config set install-ghc --global false
stack config set system-ghc --global true