go2nix icon indicating copy to clipboard operation
go2nix copied to clipboard

Improve documentation on where to run go2nix

Open zagy opened this issue 6 years ago • 1 comments

I was trying to update Telegraf and it took me hours to find out that you had to run go2nix from $GHOME/src/github.com/influxdata/telegraf/cmd/telegraf. Running it in $GHOME/src/github.com/influxdata/telegraf/ results in an empty deps.nix. I never came to my mind that the path could be wrong. So maybe the documentation could hint how to find the actual path in those circumstances. Not knowing Go at all I don't really see the pattern there.

Thanks.

zagy avatar Jun 27 '18 05:06 zagy

I ran into a similar problem, i thought you have to run go get from $PWD/src/.. (but normalized)

deliciouslytyped avatar May 07 '19 16:05 deliciouslytyped