nix-community / gomod2nix

Convert applications using Go modules to Nix expressions [maintainer=@marcusramberg]
MIT License
233 stars 56 forks source link

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

Open dzmitry-lahoda opened 10 months ago

dzmitry-lahoda commented 10 months ago

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 commented 10 months ago

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.