dep2nix
dep2nix copied to clipboard
Can't pull from go.uber.org
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.
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.