Package Details: haskell-hstringtemplate 0.8.7-3

Git Clone URL: https://aur.archlinux.org/haskell-hstringtemplate.git (read-only)
Package Base: haskell-hstringtemplate
Description: StringTemplate implementation in Haskell.
Upstream URL: http://hackage.haskell.org/package/HStringTemplate
Licenses: BSD3
Submitter: pdxleif
Maintainer: pdxleif (SolarAquarion)
Last Packager: SolarAquarion
Votes: 0
Popularity: 0.000000
First Submitted: 2018-01-27 10:03
Last Updated: 2018-06-13 04:52

Latest Comments

pdxleif commented on 2018-06-13 05:01

The base included with GHC 8.4.3 on Arch is 4.11.1.0, which includes Data.Semigroup: https://hackage.haskell.org/package/base-4.11.1.0/docs/Data-Semigroup.html

pdxleif commented on 2018-06-13 04:50

@SolarAquarion Thanks - I added your patch and also added you as co-maintainer. It looks like that semigroup dep was added when they added Semigroup instances to support GHC 8.4. Though that must be for older GHC's - installing semigroups has mostly been a no-op since GHC 8.0 - see the "if impl(ghc < 7.11.20151002)" in http://hackage.haskell.org/package/semigroups-0.18.4/semigroups.cabal I'll see about getting the "if !impl(ghc >= 8.0)" conditional adding of the semigroups dep mentioned on https://prime.haskell.org/wiki/Libraries/Proposals/SemigroupMonoid#Writingcompatiblecode contributed upstream. Would we want to remove the semigroups dep from our PKGBUILDs in general? I see that haskell-gi also depends on it.

SolarAquarion commented on 2018-06-13 04:48

probably. But, it's not in base according to this haskell

dongcarl commented on 2018-06-12 21:00

Might it have to do with most of semigroups' functionality being added to base?

SolarAquarion commented on 2018-06-12 15:46

https://ptpb.pw/p5pt

I created this patch to remove semigroups >= 0.16 because it requires an older ghc and whatever, but it works properly anyway, as long as you have semigroups installed

pdxleif commented on 2018-06-11 21:12

You can also use ghc-pkg check to see if any Haskell libs are in a "broken" state due to e.g. incorrect deps.

pdxleif commented on 2018-06-11 21:12

Make sure the output of ghc-pkg list | grep semigroups shows a semigroups package registered.

You should have a .conf file starting with semigroups-0.18.4 in /usr/lib/ghc-8.4.3/package.conf.d/ that was put there with the haskell-semigroups package was installed.

dongcarl commented on 2018-06-11 18:29

I have haskell-semigroups installed (I checked using pacman -Qi haskell-semigroups), but it seems like I still can't build this:

==> Starting build()...
Configuring HStringTemplate-0.8.7...
Setup: Encountered missing dependencies:
semigroups >=0.16

==> ERROR: A failure occurred in build().
    Aborting...
Error making: haskell-hstringtemplate

pdxleif commented on 2018-06-11 06:38

Thanks, updated

SolarAquarion commented on 2018-06-08 16:21

you need to add "haskell-semigroups"