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
buildGoPackage: check/delete vendor #96735
Conversation
}; | ||
|
||
nativeBuildInputs = [ pkgconfig ]; | ||
# livepeer_cli has a vendoring problem |
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.
Out of ~390 buildGoPackage
s this seems to be the only one that breaks and it's non-trivial to fix.
(The previous version also has issues.)
I'll come back to it after this PR is merged.
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.
LGTM, nice work.
I'll merge after the branch off. |
Rechecked |
I've seen several existing and newly submitted packages using an unnecessary
goDeps
withbuildGoPackage
, hopefully this would point people in the right direction.Copied
deleteVendor
frombuildGoModule
to cover cases when we don't want to use the vendor folder.Would need to rebuild/fix packages and update docs before merging.Done.cc @NixOS/golang