Skip to content
This repository has been archived by the owner on Aug 26, 2021. It is now read-only.

Improve documentation on where to run go2nix #71

Open
zagy opened this issue Jun 27, 2018 · 1 comment
Open

Improve documentation on where to run go2nix #71

zagy opened this issue Jun 27, 2018 · 1 comment

Comments

@zagy
Copy link

zagy commented Jun 27, 2018

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.

@deliciouslytyped
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants