-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhancement: add proxy names redirection for ghcup
executable
#1002
Comments
This is rather easy with e.g. However, there's a complication on windows:
|
The problem of why not using If the shell script which is installed as Because |
I don't see why that would be the case. The new |
|
@hasufell , as a packager, I want to make ghcup a system package. Modifying user's Want to just add new files in system-level instead of modifying any file or do options on user home directory. Because for multiple users system, when new user added, the effect do against old user will not apply to new user. Add name proxies for |
@evan0greenup you can already do what you want with shell wrappers. See Note that you'll have to make a choice whether those shell wrappers should install the tool when it's missing, which can affect the first invocation and trigger a metadata download (see I'd keep it off and print more verbose instructions. |
ghcup
to Haskell is similar torustup
to Rust.Have a look on https://rust-lang.github.io/rustup/concepts/proxies.html, It would nice to bring this feature in
ghcup
.When create a symlink to
ghcup
executable with a different name for exampleghc
orstack
orcabal
, it will automatically redirect the command and arguments to its default related tools.This would make it much easier for Linux distro maintainer to use
ghcup
replace all the traditional haskell related toolchain.The text was updated successfully, but these errors were encountered: