Skip to content
This repository has been archived by the owner on Feb 13, 2021. It is now read-only.

Project revamp #64

Merged
merged 15 commits into from
Jul 25, 2020
Merged

Project revamp #64

merged 15 commits into from
Jul 25, 2020

Conversation

infinisil
Copy link
Owner

@infinisil infinisil commented Jun 28, 2020

This implements the plan in #61 plus some more. That is:

  • Only unstable HIE
  • Only GHC 8.6.5 and 8.8.3 (or more in the future), but on Linux for both glibc 2.27 (NixOS 19.09) and glibc 2.30 (NixOS 20.03/unstable)
  • Using haskell.nix for the builds. This makes evaluation slower, but makes things simpler overall.
  • No global installation intended anymore, instead you add HIE to your projects shell.nix file
  • Fully working template projects are provided in the templates directory, including one using haskell.nix and one using the nixpkgs infrastructure
  • All builds and cachix pushes are now done using GitHub Actions (previously I built and pushed everything manually). The templates are also tested like that.

There are still some small things to do:

  • The templates are both cabal-based, maybe a stack-based one would be nice too
  • The templates should get a small Readme explaining how/why it works and how to use it
  • Attempting to use GHC versions other than 8.6.5 or 8.8.3 will probably fail, since haskell.nix doesn't fully support them. An early error might be better than an obscure haskell.nix error

Will be replaced with haskell.nix
infinisil and others added 8 commits July 25, 2020 03:38
- Only unstable HIE
- Only GHC 8.6.5 and 8.8.3 (or more in the future), but on Linux for both glibc 2.27 (NixOS 19.09) and glibc 2.30 (NixOS 20.03/unstable)
- Using haskell.nix for the builds. This makes evaluation slower, but makes things simpler overall.
- No global installation intended anymore, instead you add HIE to your projects shell.nix file (to be documented in future commits)

Co-authored-by: galagora <45048741+galagora@users.noreply.github.com>
This builds and pushes all necessary configurations using GitHub Actions
automatically. Also tests the templates
@infinisil infinisil mentioned this pull request Jul 25, 2020
@infinisil
Copy link
Owner Author

I have now done all the things I wanted and I think this PR is ready. CI takes a long time, but once it passes I'll merge this. If any problems are encountered with these changes, feel free to open issues for them.

With this merged, these issues can be closed:

@infinisil infinisil merged commit b8fb659 into master Jul 25, 2020
@infinisil infinisil deleted the haskell.nix branch July 25, 2020 13:25
This was referenced Jul 25, 2020
@Anton-Latukha
Copy link

Thank you for all this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants