haskell-infra / hl

Haskell web site (old -- see new repo at https://github.com/haskell-infra/www.haskell.org)
http://haskell.org/
BSD 3-Clause "New" or "Revised" License
158 stars 92 forks source link

Remove version from cabal/ghc package names #236

Closed stephenh closed 5 years ago

stephenh commented 6 years ago

I just installed cabal-install and ghc on Ubuntu 18.04 and did not need the version suffixes on the package names.

Also the PATH setting looks wrong, as it has older version numbers hard-coded in it, but I'm not sure what the correct values are yet, so will defer that to a future PR.

gbaz commented 6 years ago

cc @hvr for advice on fixing this properly..

hvr commented 6 years ago

Well, one big problem we have is that the hl.cabal file is ill-specified; so fixing this properly involves also taking a look at the hl.cabal file, and figuring out what versions we actually intend to support here.

And then we can figure out based on that, what to suggest users on e.g. Debian or Ubuntu; i.e. whether the Linux-distro provided GHC (possibly from the backports repo) is recommendable, or whether (for some) Distro release, users need to install haskell.org provided ghc packages (i.e. from http://downloads.haskell.org/debian/ )

I'll investigate a bit today and get back to you.

gbaz commented 6 years ago

The hl cabal file shouldn’t matter for this, since the tools to build the site are not correlated to the content it displays. This is just about the recommended path for a recent ghc on debian and ubuntu. Which is certainly typically more recent than that in the distro.

gbaz commented 6 years ago

@hvr ping :-)