Go to file
Julian Ospald b0eba1a77a Use regex-posix instead of text-icu
This will make static linking easier.
2020-03-16 10:49:04 +01:00
app Remove unnecessary type annotations 2020-03-16 10:47:09 +01:00
lib Use regex-posix instead of text-icu 2020-03-16 10:49:04 +01:00
test Initial commit 2020-03-09 00:44:11 +01:00
.gitignore Add stack support (building) 2020-03-09 20:49:56 +01:00
cabal.project Don't build with brotli 2020-03-16 10:47:55 +01:00
cabal.project.freeze Don't build with brotli 2020-03-16 10:47:55 +01:00
CHANGELOG.md Initial commit 2020-03-09 00:44:11 +01:00
ghcup.cabal Use regex-posix instead of text-icu 2020-03-16 10:49:04 +01:00
LICENSE Initial commit 2020-03-09 00:44:11 +01:00
README.md Initial commit 2020-03-09 00:44:11 +01:00
Setup.hs Initial commit 2020-03-09 00:44:11 +01:00
stack.yaml Add stack support (building) 2020-03-09 20:49:56 +01:00
update-index-state.sh Initial commit 2020-03-09 00:44:11 +01:00

ghcup

A rewrite of ghcup in haskell.

TODO

  • create static ghcup binaries
    • adjust url in GHCupDownloads
  • add print-system-reqs command

Motivation

Maintenance problems:

Benefits of a rewrite:

  • Features such as installing release candidates or HEAD builds can be more conveniently implemented in a rewrite
  • Refactoring will be easier
  • Better tool support (such as linting the downloads file)
  • saner downloads file format (such as JSON)

Downsides:

  • building static binaries for all platforms (and possibly causing SSL/DNS problems)
  • still bootstrapping those binaries via a POSIX sh script

Goals

  • Correct low-level code
  • Good exception handling
  • Cleaner user interface