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

Can't pull from go.uber.org #17

Open
benley opened this issue Feb 11, 2019 · 1 comment
Open

Can't pull from go.uber.org #17

benley opened this issue Feb 11, 2019 · 1 comment

Comments

@benley
Copy link

benley commented Feb 11, 2019

This seems closely related to #3 and #4; I'm not sure why it's failing for me.

A project I'm trying to build has an indirect dependency on go.uber.org/atomic in Gopkg.lock, and dep2nix is unable to fetch it:

* Processing: "go.uber.org/atomic"
error fetching project: Unable to get repository

In Gopkg.lock:

[[projects]]
  digest = "1:3c1a69cdae3501bf75e76d0d86dc6f2b0a7421bc205c0cb7b96b19eed464a34d"
  name = "go.uber.org/atomic"
  packages = ["."]
  pruneopts = "UT"
  revision = "1ea20fb1cbb1cc08cbd0d913a96dead89aa18289"
  version = "v1.3.2"

I'm running dep2nix @ 3c3dfda, which looks like it ought to be able to handle this, so I'm not sure what the problem is.

@roastiek
Copy link

The problem is that go.uber.org/atomic can be imported as github.com/uber-go/atomic, too. When Gopkg.lock contains both, then the second checkout of atomic fails because the checkout directory already exists.

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