Package Details: hlint-bin 3.3.6-1

Git Clone URL: (read-only, click to copy)
Package Base: hlint-bin
Description: Haskell source code suggestions. Packaged from upstream binary release.
Upstream URL:
Licenses: BSD
Conflicts: hlint
Submitter: dno
Maintainer: dno
Last Packager: dno
Votes: 1
Popularity: 0.000001
First Submitted: 2020-03-17 13:53
Last Updated: 2022-01-09 22:24

Latest Comments

dno commented on 2021-02-03 00:55

Ok, I went ahead and added ncurses5-compat-libs as a dep to this. It's not ideal though unless one is using an AUR helper that chases down AUR deps. At least it's clearer now that something that provides ncurses5 stuff is needed.

gesh: Also, your PKGBUILD below could be made into a new AUR package as an alternative to hlint-bin for people who prefer one built locally. Thanks for writing that and bringing the issue up.

dno commented on 2021-02-02 22:54

I see. I've got this on my system

lrwxrwxrwx 1 root root     24 Jul 15  2020 /usr/lib/ -> /usr/lib/
lrwxrwxrwx 1 root root     25 Jul 15  2020 /usr/lib/ -> /usr/lib/
lrwxrwxrwx 1 root root     18 Jul 15  2020 /usr/lib/ ->
-rwxr-xr-x 1 root root 404536 Jul 15  2020 /usr/lib/

Which are coming from another AUR package I installed, possibly for hlint-bin, but I don't remember: ncurses5-compat-libs This package provides and conflicts with libtinfo5

Do you think another possible solution would be for me to add ncurses5-compat-libs to this PKGBUILD?

PS It's quite possible the upstream maintainer won't care about this Arch issue, they do appear to be on libtinfo5 still on Ubuntu 20

gesh commented on 2021-02-02 22:14

Package broken, requires (which is at least two years out of date). Issue raised upstream: Current solution is to build locally, PKGBUILD for that purpose below

# Maintainer: Gesh <>
# Maintainer: Dino Morelli <>

pkgdesc='Haskell source code suggestions'
conflicts=('hlint' 'hlint-bin')

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

check() {
    cd "$pkgname"

    stack test

build() {
    cd "$pkgname"

    stack setup
    stack build \
        --install-ghc \
        --ghc-options='-fdiagnostics-color=always' \

package() {
    cd "$srcdir/$pkgname"
    stack install --local-bin-path "$pkgdir/usr/bin"