Skip to content

cabal repl ignores .ghci files #8544

Open
@Soupstraw

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:

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.0
  • ghc 8.10.7

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions