-
Notifications
You must be signed in to change notification settings - Fork 960
Run go mod tidy #1804
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
Run go mod tidy #1804
Conversation
Signed-off-by: Onni Hakala <onni@flaky.build>
2c3bb51
to
0437942
Compare
If I try to use the same go version as in
And If I try to use go version 1.23:
I get:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We use go 1.22 and 1.23 in CI, so 1.22 has to stay in there.
In any case, I can build sops fine locally with go 1.24 without this change (once vendoring is done).
CC @getsops/maintainers since others know more about Go packaging than me... |
Sorry I'm not familiar but I would want to learn. What do you mean when you say?
I noticed that even the latest sops release in nixpkgs needs to patch the go.mod file to get it compiling:
And they are using go 1.22 in the builds. |
To build it locally, I usually run |
Closing since no longer needed due to #1819. Thanks for your contribution! |
Hey,
Because the
go.mod
file is not up to date different upstream packaging software need to rely on weird hacks to build from main branch.For example if you look homebrew they by default always need to run:
Because of this I'm also not able to build the current master with nix as seen in this pretty long thread in nix forums.
Would it be possible to update this?