Open
Description
Describe the bug
cabal repl
ignores the .ghci
file in the project directory. I also tried to put the .ghci
file into my home directory, passing a .ghci
file via the -ghci-script
option, but the file is never loaded no matter which method I use.
To Reproduce
Steps to reproduce the behavior:
- Clone this project: https://github.com/input-output-hk/cardano-ledger
- Create a
.ghci
in the project directory with some content (for example:set prompt .ghci loaded
) - Run
cabal v2-repl test:cardano-ledger-alonzo-test --ghc-options="-Wwarn"
After doing the steps above, the .ghci
file is ignored by the REPL and it runs as it would without a .ghci
file.
Expected behavior
The repl starts and runs all the commands in the .ghci
file.
System information
- NixOS
cabal
3.8.1.0ghc
8.10.7
Activity