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
buildGoModule: require vendorSha256 to be set in packages #89454
Conversation
I don't see why we want this - the default behavior here is sane and correct :) |
Then we should be removing I don't see why we have implicit and explicit method for the same thing? |
Hmmm - how would you rephrase the docs - "if upstream has a working vendor folder, don't set updateSha256"? |
I like the explicit variant better. Most of the time one has to set |
Okay - then lets merge. |
@ofborg eval |
Derp - just found a bug with this. If this is required, you have to set vendorSha256=null So we're breaking existing users of modSha256 :( |
|
Mhm. I think we should keep in support for |
In #90217 I've cherry picked the |
Doesn't look like |
https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks/go.xml#L39
|
I'm guessing the manual is only built from stable? |
Require
vendorSha256
to be set in packages with either a checksum or null.cc @Mic92