Package Details: ghcup-hs-bin 0.1.30.0-1

Git Clone URL: https://aur.archlinux.org/ghcup-hs-bin.git (read-only, click to copy)
Package Base: ghcup-hs-bin
Description: an installer for the general purpose language Haskell
Upstream URL: https://www.haskell.org/ghcup/
Licenses: LGPL3
Conflicts: ghcup-git
Submitter: amesgen
Maintainer: amesgen
Last Packager: amesgen
Votes: 27
Popularity: 0.79
First Submitted: 2020-04-19 00:41 (UTC)
Last Updated: 2024-07-07 23:13 (UTC)

Dependencies (3)

Required by (0)

Sources (4)

Pinned Comments

amesgen commented on 2021-07-14 15:08 (UTC)

Feel free to create issues/PRs at GitHub: https://github.com/amesgen/ghcup-pkgbuild

Latest Comments

« First ‹ Previous 1 2

hasufell commented on 2020-07-22 20:22 (UTC) (edited on 2020-07-22 20:24 (UTC) by hasufell)

Hi, I'm the maintainer of ghcup. Nice work!

I'm wondering if it makes sense to add all of the GHC/Cabal dependencies as optional (the ones you need to use the ghc binary etc.): gcc, gmp, libffi, ncurses.

I'm not sure whether I would consider curl optional. It's true you can tell both ghcup and cabal to use wget, but both use curl as default. I guess this depends on packaging policies.

For better shell integration this package could install an /usr/share/ghcup/env file with the following contents:

export PATH="$HOME/.cabal/bin:${GHCUP_INSTALL_BASE_PREFIX:=$HOME}/.ghcup/bin:$PATH"

And then write a post install message:

Add the following line to e.g. your .bashrc: [ -f "/usr/share/ghcup/env" ] && source /usr/share/ghcup/env
To use ghcup in your current terminal session, run: source /usr/share/ghcup/env

Cheers.