ghcup: ghc toolchain installer

[ lgpl, library, system ] [ Propose Tags ] [ Report a vulnerability ]

A rewrite of the shell script ghcup, for providing a more stable user experience and exposing an API.


[Skip to Readme]

library ghcup

Modules

[Last Documentation]

  • GHCup
    • GHCup.Cabal
    • GHCup.CabalConfig
    • GHCup.Download
      • GHCup.Download.IOStreams
      • GHCup.Download.Utils
    • GHCup.Errors
    • GHCup.GHC
    • GHCup.HLS
    • GHCup.List
    • GHCup.PlanJson
    • GHCup.Platform
    • GHCup.Prelude
      • GHCup.Prelude.File
        • Posix
          • GHCup.Prelude.File.Posix.Traversals
        • GHCup.Prelude.File.Search
      • GHCup.Prelude.Internal
      • GHCup.Prelude.Logger
        • GHCup.Prelude.Logger.Internal
      • GHCup.Prelude.MegaParsec
      • GHCup.Prelude.Process
        • GHCup.Prelude.Process.Windows
      • String
        • GHCup.Prelude.String.QQ
      • Version
        • GHCup.Prelude.Version.QQ
    • GHCup.Prompts
    • GHCup.Requirements
    • GHCup.Stack
    • GHCup.Types
      • GHCup.Types.JSON
        • GHCup.Types.JSON.Utils
        • GHCup.Types.JSON.Versions
      • GHCup.Types.Optics
      • GHCup.Types.Stack
    • GHCup.Utils
      • GHCup.Utils.Dirs
      • GHCup.Utils.Parsers
      • GHCup.Utils.Tar
        • GHCup.Utils.Tar.Types
      • GHCup.Utils.URI
    • GHCup.Version

library ghcup:ghcup-tui

Modules

[Last Documentation]

  • GHCup
    • Brick
      • GHCup.Brick.Actions
      • GHCup.Brick.App
      • GHCup.Brick.Attributes
      • GHCup.Brick.BrickState
      • GHCup.Brick.Common
      • Widgets
        • GHCup.Brick.Widgets.KeyInfo
        • GHCup.Brick.Widgets.Menu
        • Menus
          • GHCup.Brick.Widgets.Menus.AdvanceInstall
          • GHCup.Brick.Widgets.Menus.CompileGHC
          • GHCup.Brick.Widgets.Menus.CompileHLS
          • GHCup.Brick.Widgets.Menus.Context
        • GHCup.Brick.Widgets.Navigation
        • GHCup.Brick.Widgets.SectionList
        • GHCup.Brick.Widgets.Tutorial
    • GHCup.BrickMain

library ghcup:ghcup-optparse

Modules

[Last Documentation]

  • GHCup
    • GHCup.OptParse
      • GHCup.OptParse.ChangeLog
      • GHCup.OptParse.Common
      • GHCup.OptParse.Compile
      • GHCup.OptParse.Config
      • GHCup.OptParse.DInfo
      • GHCup.OptParse.GC
      • GHCup.OptParse.Install
      • GHCup.OptParse.List
      • GHCup.OptParse.Nuke
      • GHCup.OptParse.Prefetch
      • GHCup.OptParse.Rm
      • GHCup.OptParse.Run
      • GHCup.OptParse.Set
      • GHCup.OptParse.Test
      • GHCup.OptParse.ToolRequirements
      • GHCup.OptParse.UnSet
      • GHCup.OptParse.Upgrade
      • GHCup.OptParse.Whereis

Flags

Manual Flags

NameDescriptionDefault
tui

Build the brick powered tui (ghcup tui).

Enabled
internal-downloader

Compile the internal downloader, which links against OpenSSL. This is disabled on windows.

Disabled
no-exe

Don't build any executables

Disabled
tar

Use haskell tar instead of libarchive.

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.14.1, 0.1.14.2, 0.1.17.2, 0.1.17.3, 0.1.17.4, 0.1.17.5, 0.1.17.6, 0.1.17.8, 0.1.17.9, 0.1.17.10, 0.1.18.0, 0.1.19.0, 0.1.19.1, 0.1.19.2, 0.1.19.5, 0.1.20.0, 0.1.22.0, 0.1.30.0 (info)
Change log CHANGELOG.md
Dependencies aeson (>=1.4), aeson-pretty (>=0.8.8 && <0.9), async (>=2.2.3 && <2.3), base (>=4.12 && <5), base16-bytestring (>=0.1.1.6 && <1.1), binary (>=0.8.6.0 && <0.9), brick (>=2.1 && <2.2), bytestring (>=0.10 && <0.12), bz2 (>=1.0.1.1 && <1.1), Cabal (>=3.0.0.0 && <3.1 || >=3.2.0.0 && <3.3 || >=3.4.0.0 && <3.5 || >=3.6.0.0 && <3.7 || >=3.8.0.0 && <3.9 || >=3.10.0.0 && <3.11), Cabal-syntax (>=3.6.0.0 && <3.7 || >=3.8.0.0 && <3.9 || >=3.10.0.0 && <3.11 || >=3.12.0.0 && <3.13), case-insensitive (>=1.2.1.0 && <1.3), casing (>=0.1.4.1 && <0.2), conduit (>=1.3 && <1.4), containers (>=0.6 && <0.7), cryptohash-sha256 (>=0.11.101.0 && <0.12), deepseq (>=1.4.4.0 && <1.5), directory (>=1.3.6.0 && <1.4), disk-free-space (>=0.1.0.1 && <0.2), exceptions (>=0.10 && <0.11), file-uri (>=0.1.0.0 && <0.2), filepath (>=1.4.101.0), ghcup, haskus-utils-types (>=1.5 && <1.6), haskus-utils-variant (>=3.3 && <3.4), libarchive (>=3.0.3.0 && <3.1), lzma-static (>=5.2.5.3 && <5.3), megaparsec (>=8.0.0 && <9.3), mtl (>=2.2 && <2.3), optics (>=0.4 && <0.5), optparse-applicative (>=0.15.1.0 && <0.18), os-release (>=1.0.0 && <1.1), parsec, pretty (>=1.1.3.1 && <1.2), pretty-terminal (>=0.1.0.0 && <0.2), process (>=1.6.11.0 && <1.7), regex-posix (>=0.96 && <0.97), resourcet (>=1.2.2 && <1.3), retry (>=0.8.1.2 && <0.10), safe (>=0.3.18 && <0.4), safe-exceptions (>=0.1 && <0.2), split (>=0.2.3.4 && <0.3), strict-base (>=0.4 && <0.5), tagsoup (>=0.14 && <0.15), template-haskell (>=2.7 && <2.22), temporary (>=1.3 && <1.4), terminal-size (>=0.3.3 && <0.4), text (>=2.0 && <2.1), time (>=1.9.3 && <1.12), transformers (>=0.5 && <0.6), unix (>=2.7 && <2.9), unix-bytestring (>=0.3.7.3 && <0.4), unliftio-core (>=0.2.0.1 && <0.3), unordered-containers (>=0.2.10.0 && <0.3), uri-bytestring (>=0.3.2.2 && <0.4), utf8-string (>=1.0 && <1.1), vector (>=0.12 && <0.14), versions (>=6.0.5 && <6.1), vty (>=6.0 && <6.3), Win32 (>=2.10), word8 (>=0.1.3 && <0.2), yaml (>=0.11.0 && <0.12), zlib (>=0.6.2.2 && <0.7) [details]
Tested with ghc ==9.4.8, ghc ==9.2.8, ghc ==9.0.2, ghc ==8.10.7
License LGPL-3.0-only
Copyright Julian Ospald 2024
Author Julian Ospald
Maintainer hasufell@posteo.de
Category System
Home page https://github.com/haskell/ghcup-hs
Bug tracker https://github.com/haskell/ghcup-hs/issues/
Source repo head: git clone https://github.com/haskell/ghcup-hs.git
Uploaded by maerwald at 2024-07-07T16:11:04Z
Distributions
Executables ghcup
Downloads 2477 total (67 in the last 30 days)
Rating 2.5 (votes: 3) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2024-07-07 [all 2 reports]

Readme for ghcup-0.1.30.0

[back to package description]

The GHCup Haskell installer

Join the chat at Libera.chat Join the chat at Matrix.org Join the chat at Discord [![Join the chat at https://gitter.im/haskell/ghcup](https://badges.gitter.im/haskell/ghcup.svg)](https://gitter.im/haskell/ghcup?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) Donate

GHCup is the main installer for the general purpose language Haskell.

Visit the documentation for installation instructions.

If you're looking for the metadata YAML files, see here: [https://github.com/haskell/ghcup-metadata](https://github.com/haskell/ghcup-metadata)