go2nix icon indicating copy to clipboard operation
go2nix copied to clipboard

Unable to find vendored packages

Open charles-dyfis-net opened this issue 5 years ago • 1 comments

I have some tools for which I'm overriding golang.org/x/crypto/openpgp inside my local codebase (with a directory src/mypackage/vendor/golang.org/x/crypto/openpgp).

go build works correctly, but go2nix save fails with cannot find package "golang.org/x/crypto/openpgp".

A symlink (to mypackage/vendor/golang.org from src/golang.org) works around the issue -- but is this something that should be needed?

charles-dyfis-net avatar Oct 02 '18 21:10 charles-dyfis-net

this doesn't save https://gitea.com/gitea/tea for example and linking doesn't help either, says 'Cannot find repo root for'

voobscout avatar Jul 30 '20 11:07 voobscout