I can see in the install script that for unix-like systems we install everything into the user’s
$HOME directory. What if I want to install everything system-wide (for instance at
/opt/ghcup or even
I know that I can set the
GHCUP_INSTALL_BASE_PREFIX but it’s still trying to append
$GHCUP_INSTALL_BASE_PREFIX/.ghcup and if I want to install to
/opt I need to borrow root permissions, so I end up with a mess at
I can move the
.ghci directory from my home directory, but then every time I try to update or install something it gets put in
$HOME/.ghcup (or tries to do something like
Am I missing something?
In case not: was it a deliberate choice to bake in the
$HOME? And is it a feature request that I could reasonably send? I found one issue discussing this (ghcup-hs/#39), but it was dropped.