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

feat: gomod2nix to populate https://pkg.go.dev/runtime/debug#ReadBuildInfo BuildDeps #145

Open
dzmitry-lahoda opened this issue Jan 7, 2024 · 1 comment

Comments

@dzmitry-lahoda
Copy link

I build Go usually, I see deps in https://pkg.go.dev/runtime/debug#ReadBuildInfo.

Built via gomod2nix - list is empty.

How can make it non empty?

@dzmitry-lahoda dzmitry-lahoda changed the title feat: gomod2nix to popilate https://pkg.go.dev/runtime/debug#ReadBuildInfo BuildDeps feat: gomod2nix to populate https://pkg.go.dev/runtime/debug#ReadBuildInfo BuildDeps Jan 7, 2024
@dzmitry-lahoda
Copy link
Author

dzmitry-lahoda commented Jan 7, 2024

hm, set like in my repo, but manual build

GO111MODULE="on" GO_NO_VENDOR_CHECKS=1 GOFLAGS="-mod=vendor" make build

still have deps info in manual build.

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

1 participant