Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
ghcup-hs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Haskell
ghcup-hs
Commits
ff32ccfb
Verified
Commit
ff32ccfb
authored
4 years ago
by
Julian Ospald
Browse files
Options
Downloads
Patches
Plain Diff
Add warning about XDG dirs
parent
581108ab
No related branches found
No related tags found
No related merge requests found
Pipeline
#36792
passed with warnings
4 years ago
Stage: hlint
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+3
-0
3 additions, 0 deletions
README.md
with
3 additions
and
0 deletions
README.md
+
3
−
0
View file @
ff32ccfb
...
@@ -123,6 +123,9 @@ Then you can control the locations via XDG environment variables as such:
...
@@ -123,6 +123,9 @@ Then you can control the locations via XDG environment variables as such:
*
`XDG_BIN_HOME`
: binaries end up here (default:
`~/.local/bin`
)
*
`XDG_BIN_HOME`
: binaries end up here (default:
`~/.local/bin`
)
*
`XDG_CONFIG_HOME`
: the config file is stored in
`ghcup`
subdir as
`config.yaml`
(default:
`~/.config`
)
*
`XDG_CONFIG_HOME`
: the config file is stored in
`ghcup`
subdir as
`config.yaml`
(default:
`~/.config`
)
**
Note that
`ghcup`
makes some assumptions about structure of files in
`XDG_BIN_HOME`
. So if you have other tools
installing e.g. stack/cabal/ghc into it, this will likely clash. In that case consider disabling XDG support.
**
### Env variables
### Env variables
This is the complete list of env variables that change GHCup behavior:
This is the complete list of env variables that change GHCup behavior:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment