vscode-dev-containers icon indicating copy to clipboard operation
vscode-dev-containers copied to clipboard

Haskell - Fix GHCup installation

Open dogancanbakir opened this issue 3 years ago • 0 comments

Problem

GHCup installation fails because of the way it gets installed.

Error: #0 80.95 [ Info ] Installing GHC (this may take a while) ... #0 82.44 #0 85.18 [ [2022-10-08T10:24:48.351Z] 91m[ Error ] Both installation and setting the tool failed. Install error was: Process "gmake" with arguments ["DESTDIR=/home/vscode/.ghcup/tmp/ghcup-3a13a8c583be7176", #0 85.18 [ ... ] "install"] failed with exit code 2. #0 85.18 [ ... ] Set error was: The version 9.2.4 of the tool ghc is not installed. #0 85.18 [ Error ] Also check the logs in /home/vscode/.ghcup/logs

Solution

Install GHCup as recommended at https://www.haskell.org/ghcup/

dogancanbakir avatar Oct 08 '22 10:10 dogancanbakir