Skip to content
This repository has been archived by the owner on Oct 7, 2020. It is now read-only.

Install script with cabal: check there is one ghc in $PATH #1632

Merged
merged 2 commits into from
Feb 4, 2020

Conversation

jneira
Copy link
Member

@jneira jneira commented Feb 4, 2020

  • It throws an error if there is no one
D:\ws\haskell\haskell-ide-engine>cabal v2-run .\install.hs -w D:\bin\ghc-8.6.5\bin\ghc  --project-file=install\shake.project
........
********************************************************************************

No ghc installations found in $PATH.
The script requires at least one ghc in $PATH to be able to build hie.

********************************************************************************


No ghc installations found in $PATH.
The script requires at least one ghc in $PATH to be able to build hie.

CallStack (from HasCallStack):
  error, called at src\Env.hs:79:3 in hie-install-0.8.0.0-inplace:Env

Closes #1620

Copy link
Collaborator

@fendor fendor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! thank you!

@alanz alanz merged commit caf7223 into haskell:master Feb 4, 2020
@jneira jneira deleted the install-check-ghcs branch February 4, 2020 23:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Only see 'latest' target in help text
3 participants