From 818a5d2d8539c166a2958875e4756adb19c4b7df Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Wed, 22 Apr 2020 16:14:10 +0200 Subject: [PATCH] Document environment variables --- app/ghcup/Main.hs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/ghcup/Main.hs b/app/ghcup/Main.hs index a4d0368..655de6d 100644 --- a/app/ghcup/Main.hs +++ b/app/ghcup/Main.hs @@ -640,7 +640,11 @@ main = do let main_footer = [i|Discussion: ghcup installs the Glasgow Haskell Compiler from the official release channels, enabling you to easily switch between different - versions. + versions. It maintains a self-contained ~/.ghcup directory. + +ENV variables: + * TMPDIR: where ghcup does the work (unpacking, building, ...) + * GHCUP_INSTALL_BASE_PREFIX: the base of ghcup (default: $HOME) Report bugs at |]