Package Details: ghcup-git 0.0.7.r100.g5c1d711-1

Git Clone URL: (read-only, click to copy)
Package Base: ghcup-git
Description: Painless installation of GHC toolchain
Upstream URL:
Licenses: BSD
Submitter: spaceships
Maintainer: spaceships
Last Packager: spaceships
Votes: 1
Popularity: 0.007524
First Submitted: 2018-11-17 01:13
Last Updated: 2019-08-23 14:14

Dependencies (0)

Required by (0)

Sources (1)

Latest Comments

spaceships commented on 2019-08-23 14:15

Thank you for the comments, I've just updated it to address them

hasufell commented on 2019-07-26 06:36

Hi, I'm the author of ghcup. A few suggestions:

  1. for ghcup to work you need to modify PATH as user after installation. You should print a post-install message explaining this, see
  2. I recently added basic bash-completion. You might want to install/enable it:
  3. As the previous comment states, your really only need 'ghcup' shell script

petrus7 commented on 2019-06-20 11:18

ghcup moved to

Copying the whole git repo into /usr/share is not necessary.

Here is a patch:

diff --git a/PKGBUILD b/PKGBUILD
index [`5a09cbd`]( 100644
@@ -4,25 +4,27 @@

 pkgver() {
     cd "$_pkgname"
     git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g'

 pkgdesc='Painless installation of GHC toolchain'


 package() {
     mkdir -p $pkgdir/usr/bin
     mkdir -p $pkgdir/usr/share
+    install $srcdir/ghcup/ghcup $pkgdir/usr/bin
     cp -r $srcdir/ghcup $pkgdir/usr/share
-    ln -s /usr/share/ghcup/ghcup $pkgdir/usr/bin/ghcup
+    rm -fr $pkgdir/usr/share/ghcup/.git*