-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hie debug
fails with the stack cradle
#92
Comments
jneira
changed the title
Nov 18, 2019
hie debug
fails in windows with the stack cradlehie debug
fails with the stack cradle
The workaround is to use cwd in the project root dir (with 0013516) : PS D:\dev\ws\haskell\stack-test> hie-bios debug
Cradle failed to load
Exit Code: ExitFailure 1
Stderr: Failed to parse result of calling cabal
�[0mError parsing targets: Unknown local package: D
Note that to specify options to be passed to GHCi, use the --ghci-options flag�[0m
PS D:\dev\ws\haskell\stack-test> hie-bios debug .
Root directory: D:\dev\ws\haskell\stack-test
GHC options: -i -odir=D:\dev\ws\haskell\stack-test\.stack-work\odir -hidir=D:\dev\ws\haskell\stack-test\.stack-work\odir -hide-all-packages -iD:\dev\ws\haskell\stack-test\.stack-work\dist\e626a42b\build -iD:\dev\ws\haskell\stack-test\src -iD:\dev\ws\haskell\stack-test\.stack-work\dist\e626a42b\build\autogen -iD:\dev\ws\haskell\stack-test\.stack-work\dist\e626a42b\build\global-autogen -stubdir=D:\dev\ws\haskell\stack-test\.stack-work\dist\e626a42b\build -ID:\bin\stack\x86_64-windows\msys2-20180531\mingw64\include -LD:\bin\stack\x86_64-windows\msys2-20180531\mingw64\lib -LD:\bin\stack\x86_64-windows\msys2-20180531\mingw64\bin -package-id=base-4.12.0.0 -iD:\dev\ws\haskell\stack-test\.stack-work\dist\e626a42b\build\stack-test -iD:\dev\ws\haskell\stack-test\app -iD:\dev\ws\haskell\stack-test\.stack-work\dist\e626a42b\build\stack-test\autogen -iD:\dev\ws\haskell\stack-test\.stack-work\dist\e626a42b\build\stack-test\stack-test-tmp -package-id=bytestring-0.10.8.2 -optP-include -optPD:\dev\ws\haskell\stack-test\.stack-work\ghci\0e0774d4\cabal_macros.h -package-db D:\dev\ws\haskell\stack-test\.stack-work\install\33169d5a\pkgdb -package-db C:\sr\snapshots\67a70798\pkgdb -package-db D:\bin\stack\x86_64-windows\ghc-8.6.5\lib\package.conf.d
System libraries: D:\bin\stack\x86_64-windows\ghc-8.6.5\lib
Dependencies: stack-test.cabal package.yaml stack.yaml The path without drive letter also works: It seems a |
Fixed in latest master as the stack cradle works totally differently! |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From #90 (comment) (it fails in master too)
readProcessWithOutputFile
:It seems you cant pass a path to a directory to
stack repl
?The text was updated successfully, but these errors were encountered: