This repository was archived by the owner on Sep 9, 2020. It is now read-only.

Description
Hi,
I am trying to vendor a repository that has a dependency on hashicorp nomad project. I am getting issues with the dependency on gopkg.in and seem unable to solve them.
If i run dep init in my repository i get a Solve error and no generated files. i.e. there is no toml file or vendor file generated so i cannot edit the dependencies.
The error I get is:
No versions of gopkg.in/tomb.v2 met constraints: v1: Could not introduce gopkg.in/tomb.v2@v1, as its subpackage gopkg.in/tomb.v2 is missing. (Package is required by github.com/hashicorp/nomad@f-driver.)\
An example main.go that replicates this problem is:
package main
import (
"github.com/hashicorp/nomad/api"
"github.com/prometheus/common/log"
"github.com/hashicorp/nomad/command"
)
func main() {
client, err := api.NewClient(api.DefaultConfig())
if err != nil {
log.Fatal(err)
}
log.Info(command.JobGetter{})
log.Info(client.Agent().NodeName())
}
What version of dep are you using (dep version)?
dep:
version : devel
build date :
git hash :
go version : go1.8.3
go compiler : gc
platform : darwin/amd64
What dep command did you run?
dep init
What did you see instead?
No versions of gopkg.in/tomb.v2 met constraints: v1: Could not introduce gopkg.in/tomb.v2@v1, as its subpackage gopkg.in/tomb.v2 is missing. (Package is required by github.com/hashicorp/nomad@f-driver.)\