-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Addresses #17 - Adds `XDG_BIN_HOME` environment variable for user's binaries and adds it to appropriate places in Makefile - Introduces `GHCUP_USE_XDG_DIRS` to enable `gucp`'s XDG support, see: https://www.haskell.org/ghcup/guide/#xdg-support - Updates path for sourcing `ghcup` env in `.zshrc` - Adds potential deprecation note for `make stack` This change requires reinstall, however it does not seem to break existing stack projects. Migration can look as follows: 1. `~/.ghcup`, `~/.cabal` and `~/.ghc` can be dropped 2. Reload shell to bring `GHCUP_USE_XDG_DIRS` in scope 3. Reinstall with `make ghcup` with HLS and `stack` as well - `.zshrc` update is not necessary as it's part of this commit 4. Reload shell again to source ghcup's env Known issues: - Shell completions for `ghcup` don't seem to work (could have been a pre-existing issue) - Stack must now be updated via `ghcup` (according to a post-install log message)
- Loading branch information
Showing
3 changed files
with
26 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters