Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gitpod-samples/template-haskell
The Haskell template, configured for Gitpod (www.gitpod.io) to give you pre-built, ephemeral development environments in the cloud.
https://github.com/gitpod-samples/template-haskell
gitpod haskell template
Last synced: 2 months ago
JSON representation
The Haskell template, configured for Gitpod (www.gitpod.io) to give you pre-built, ephemeral development environments in the cloud.
- Host: GitHub
- URL: https://github.com/gitpod-samples/template-haskell
- Owner: gitpod-samples
- License: mit
- Created: 2021-07-06T00:38:55.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-04T12:24:03.000Z (almost 2 years ago)
- Last Synced: 2024-07-30T18:48:31.458Z (6 months ago)
- Topics: gitpod, haskell, template
- Language: Haskell
- Homepage: https://www.gitpod.io
- Size: 24.4 KB
- Stars: 9
- Watchers: 9
- Forks: 81
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# A Haskell template on Gitpod
This is a [Haskell](https://haskell.org/) template configured for ephemeral development environments on [Gitpod](https://www.gitpod.io/).
## Next Steps
Click the button below to start a new development environment:
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/gitpod-io/template-haskell)
## 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`