'new-exec ghc -- --interactive' behaves different than 'new-exec ghci'
Open
attention: pr-welcome
cabal-install: cmd/exec
cabal-install: v2-build system
- Dominant language
- Haskell
- Stars
- 1.7k
- Forks
- 750
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 28
Description
Setup:
```
$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 8.4.4
```
So current ghc in PATH is `8.4.4`.
Project config is set to `ghc-8.4.3`
Invoking `new-exec ghc -- --interactive` in the project dir will start `ghci-8.4.3` with the 8.4.3 environment file.
Invoking `new-exec ghci` will try to start `ghci-8.4.4` with the 8.4.3 environment file, which fails straight.
These two should do the same, imo.
Contributor guide
Assessment
This issue has not been assessed yet.