From a68ba987bd977cfbe6942b9a15a17b6e96f812d3 Mon Sep 17 00:00:00 2001 From: Divam Date: Thu, 26 Dec 2024 17:46:33 +0900 Subject: [PATCH] Add an example of using channel alias with 'ghcup install ghc' --- lib-opt/GHCup/OptParse/Install.hs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib-opt/GHCup/OptParse/Install.hs b/lib-opt/GHCup/OptParse/Install.hs index 2d947c4e..aeffc3eb 100644 --- a/lib-opt/GHCup/OptParse/Install.hs +++ b/lib-opt/GHCup/OptParse/Install.hs @@ -170,6 +170,9 @@ Examples: # install GHC 8.10.2 ghcup install ghc 8.10.2 + # install GHC 8.10.2 from vanilla channel + ghcup -s vanilla install ghc 8.10.2 + # install GHC head fedora bindist ghcup install ghc -u 'https://gitlab.haskell.org/ghc/ghc/-/jobs/artifacts/master/raw/ghc-x86_64-linux-fedora33-release.tar.xz?job=x86_64-linux-fedora33-release' head|]