bootstrap-haskell: provide instructions for the main settings

Provide some basic instructive information to someone who views the script.
This commit is contained in:
Anton-Latukha 2020-11-27 17:04:00 +02:00
parent b20371c3ac
commit 8043ac7f51
No known key found for this signature in database
GPG Key ID: 3D84C07E91802E41

View File

@ -1,5 +1,13 @@
#!/bin/sh
# Main settings:
# * BOOTSTRAP_HASKELL_NONINTERACTIVE - any nonzero value for noninteractive installation
# * BOOTSTRAP_HASKELL_NO_UPGRADE - any nonzero value to not trigger the upgrade
# * GHCUP_USE_XDG_DIRS - any nonzero value to respect The XDG Base Directory Specification
# * BOOTSTRAP_HASKELL_VERBOSE - any nonzero value for more verbose installation
# * BOOTSTRAP_HASKELL_GHC_VERSION
# * BOOTSTRAP_HASKELL_CABAL_VERSION
# safety subshell to avoid executing anything in case this script is not downloaded properly
(