Haskelly icon indicating copy to clipboard operation
Haskelly copied to clipboard

Use different ghci command

Open Genora51 opened this issue 6 years ago • 1 comments

The Load GHCi button currently runs stack ghci, but when run outside a stack project, this warning is output:

Warning: No local targets specified, so ghci will not use any options from your package.yaml / *.cabal files.

         Potential ways to resolve this:
         * If you want to use the package.yaml / *.cabal package in the current directory, use stack init to create a new stack.yaml.
         * Add to the 'packages' field of /Users/geno/.stack/global-project/stack.yaml

Should the command run instead be stack exec -- ghci?

Genora51 avatar May 24 '18 14:05 Genora51

Ideally the ghci command should be configurable so this could be overridden for projects that use plain Cabal.

matobet avatar Jul 18 '20 12:07 matobet