-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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: accept fixed-point function argument #321791
base: master
Are you sure you want to change the base?
Conversation
Support for |
The immediate benefit is that there is consistency, and consistency perpetuates more consistency because people look at other packages for examples. |
I did this because its good to have the option of using Changing packages that are using |
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.
Please split formatting to another commit.
There are actually quite a few places where overriding |
A different problem is that it has a negative impact on eval performance because of fixed-output computation - So I don't think we should use this everywhere in nixpkgs, but only if we need it. |
@ehmry mind if I force-push this to fix the merge conflict? |
@philiptaron yes, fine by me |
This commit needs rebasing, as #225051 is merged. |
Make it possible to use
buildGoModule (finalAttrs: {
instead ofbuildGoModule rec {
.I'm hoping this is a zero-rebuild change.
Related: #225051 #234651 #317559
Add a 👍 reaction to pull requests you find important.