Artix Linux Forum

Artix Linux => Applications & Software => Topic started by: artik on 19 July 2020, 14:16:56

Title: haskell upgrade by ghcup throws error
Post by: artik on 19 July 2020, 14:16:56
I have my haskell installed through ghcup (https://www.haskell.org/ghcup/). I am trying to upgrade to the latest version by issuing
Quote
ghcup upgrade
. In this process, I get the following error:
Code: [Select]
~~> ghcup upgrade                                                                                             1 
[ Warn  ] New GHCup version available: 0.1.5. To upgrade, run 'ghcup upgrade'
[ Info  ] Upgrading GHCup...
[ Error ] DistroNotFound
After consulting Arch Haskell Wiki, it looks like to me that ghcup is one of the ways for managing multiple ghc versions in a system. I was wondering is this our issue (artix dependent) or should be posted to haskell group/forum?

Kindly advise.
Title: Re: haskell upgrade by ghcup throws error
Post by: jrballesteros05 on 20 July 2020, 11:25:17
Hello.

Reading its gitlab (https://gitlab.haskell.org/haskell/ghcup-hs#manual-install) one of the Know issues are the "
Limited distributions supported".

So, at least you can find a way to trick GHC to believe the system is "Archlinux" instead of "Artixlinux" I don't know a way to solve this problem.