"Cannot determine project root directory for Docker sandbox." error even when Docker support is disabled #4864
General summary/comments (optional)
Stack produces a docker-related error when trying to create a new project
❯ stack new lol Cannot determine project root directory for Docker sandbox.
Steps to reproduce
docker: enable: false
Method of installation
How to resolve this
Does it solve it entirely?
No. It comes back after a while.
nix: enable: true pure: false packages: [glpk, pcre, curl, zlib] docker: enable: false
I am unable to give you the content of any
I am indeed running this command (but any other, actually) from my home directory.
A couple of questions:
I suspect the mention of Docker in the error message is a red herring, because the Nix code was initially based on the Docker code and it looks like it re-uses this error message.
That sounds like some odd bug to me :)
@ttuegel that's not quite correct: nix mode is the default but it's not 100% required but you need to supply GHC by some other way (Nix seems to be the most obvious choice in this case) as an example see https://gist.github.com/qrilka/2b21576e541412656bde0c4ca6c2064e