Skip to content

The Haskell template, configured for Gitpod (www.gitpod.io) to give you pre-built, ephemeral development environments in the cloud.

License

Notifications You must be signed in to change notification settings

gitpod-samples/template-haskell

Repository files navigation

A Haskell template on Gitpod

This is a Haskell template configured for ephemeral development environments on Gitpod.

Next Steps

Click the button below to start a new development environment:

Open in Gitpod

Get Started With Your Own Project

A new project

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.

An existing project

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 and stack files when building the container. This means, that if you simply copy-paste the .gitpod.Dockerfile, your cabal/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 installing ghc on its own. Otherwise, you'll encounter problems when integrating with haskell-language-protocol. To configure stack properly, run the following:
    • stack config set install-ghc --global false
    • stack config set system-ghc --global true

About

The Haskell template, configured for Gitpod (www.gitpod.io) to give you pre-built, ephemeral development environments in the cloud.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •