From 8dbf5643166ae0d0b3890fdd3d3e9d81ba2b5af2 Mon Sep 17 00:00:00 2001 From: Sam Halliday Date: Fri, 19 Oct 2018 16:52:02 +0100 Subject: [PATCH] add How back --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 16813c8..d526cff 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,7 @@ Inspired by [rustup](https://github.com/rust-lang-nursery/rustup.rs), [pyenv](ht * [Installation](#installation) * [Usage](#usage) + * [How](#how) * [Contributing](#contributing) * [Known problems](#known-problems) @@ -39,6 +40,18 @@ export PATH="$HOME/.cabal/bin:$HOME/.ghcup/bin:$HOME/.local/bin:$PATH" See `ghcup --help`. +## How + +Installs a specified GHC version into `~/.ghcup/ghc/`, and places `ghc-` symlinks in `~/.ghcup/bin/`. + +Optionally, an unversioned `ghc` link can point to a default version of your choice. + +This uses precompiled GHC binaries that have been compiled on fedora/debian by [upstream GHC](https://www.haskell.org/ghc/download_ghc_8_6_1.html#binaries). + +Alternatively, you can also tell it to compile from source (note that this might fail due to missing requirements). + +In addition this script can also install `cabal-install`. + ## Contributing * PR or email