Skip to content
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

stack keeps trying to use docker #4972

Closed
turion opened this issue Jul 23, 2019 · 1 comment
Closed

stack keeps trying to use docker #4972

turion opened this issue Jul 23, 2019 · 1 comment

Comments

@turion
Copy link

turion commented Jul 23, 2019

General summary/comments (optional)

Although I try to disable it, stack keeps trying to use docker, which fails. I don't have docker, I don't want docker.

Steps to reproduce

$ stack init
Cannot determine project root directory for Docker sandbox.
$ stack --no-docker init
Cannot determine project root directory for Docker sandbox.
$ stack --no-docker init --verbose
2.1.1.1 x86_64 hpack-0.31.2
2019-07-23 16:26:52.584287: [debug] No project config file found, using defaults.
2019-07-23 16:26:52.589052: [debug] SELECT COUNT(*) FROM "last_performed" WHERE ("action"=?) AND ("timestamp">=?); [PersistInt64 1,PersistUTCTime 2019-07-22 14:26:52.589021511 UTC]
2019-07-23 16:26:52.589441: [error] Cannot determine project root directory for Docker sandbox.

This used to work in version 1.9.

Stack version

$ $ stack --version
2.1.1.1 x86_64 hpack-0.31.2

Method of installation

NixOS unstable

@borsboom
Copy link
Contributor

This is actually a red herring, where an error message referencing Docker was used in the Nix support even though Docker isn't actually involved. I believe stack-2.1.3 has fixed this issue, please try it out. See also #4864

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants