diff --git a/app/ghcup/Main.hs b/app/ghcup/Main.hs index a418424b..37932a65 100644 --- a/app/ghcup/Main.hs +++ b/app/ghcup/Main.hs @@ -162,10 +162,18 @@ main = do ) let main_footer = [s|Discussion: - ghcup installs the Glasgow Haskell Compiler from the official + ghcup installs the Haskell development tools from the configured release channels, enabling you to easily switch between different versions. It maintains a self-contained ~/.ghcup directory. +Release Channels: + * default: maintained by GHCup (recommended) + * cross: contains experimental cross compilers + * prereleases: contains pre-releases of all tools + * vanilla: similar to default but only uses upstream bindists + (no patches/fixes are applied, no missing platforms added) +More details at + ENV variables: * GHCUP_INSTALL_BASE_PREFIX: the base of ghcup (default: $HOME) * GHCUP_USE_XDG_DIRS: set to anything to use XDG style directories diff --git a/lib-opt/GHCup/OptParse.hs b/lib-opt/GHCup/OptParse.hs index 5a4faa2e..20aec802 100644 --- a/lib-opt/GHCup/OptParse.hs +++ b/lib-opt/GHCup/OptParse.hs @@ -146,7 +146,6 @@ opts = <> long "url-source" <> metavar "" <> help "Alternative ghcup download info" - <> internal <> completer urlSourceCompleter ) )