Some projects require installing bindists built from a modified GHC fork. It would be nice if ghcup can handle custom GHC bindists in addition to official ones, given the bindist's URL.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items
...
Show closed items
Linked items
0
Link issues together to show that they're related or that one is blocking others.
Learn more.
So if you do: ghcup -s https://some-url/foo.json install 8.8.3, then it will download foo.json and use the download information from there, which includes GHC versions, the tarballs etc.
Installation/removal/setting works. So I believe you can create a patch-tarball, such as: ghc-8.10.0-p1-x86_64-linux.tar.xz and just add that to the download info as above.
But there's currently no option around other than than maintaining your own ghcup.json download info and making sure it's in sync with the upstream one. It shouldn't be hard, since its haskell code and you can just rebase your commit/branch on top of master regularly.
Thinking about it: it would probably not be hard to add functionality to merge an additional download info into the default one. It could live entirely in Main.hs, so it doesn't pollute the actual API, but I'm not really sure if that's a strong enough use case.
Sorry for the late response; yes, the workflow of manually generating the JSON first suffices to get custom bindists running. Maybe adding a command line option to specify the bindist URL directly would make it more convenient though. Thanks for the detailed writeup!