buildGoModule: accept fixed-point function argument#321791
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 |
zowoq
left a comment
There was a problem hiding this comment.
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.