tesseract: fix passthru override#440938
Conversation
|
Could you see if just removing |
|
Yeah that also seems to fix it. That’s probably the reason why the #423615 started breaking it. I still think this is the better fix. It would've been broken anyway if anyone tried using overrideAttrs on this package. |
eclairevoyant
left a comment
There was a problem hiding this comment.
nit: // is right associative and extremely low precedence... so these are redundant. At least for the multiline ones, removing them might make the nesting shallower and improve readability.
b9be0b9 to
268fce0
Compare
|
I've remove some of the brackets. The others I kinda think are good to have as I don't think everyone knows the precedence by heart and this just makes it clear to see what's going on. |
philiptaron
left a comment
There was a problem hiding this comment.
I think this looks ugly as sin and falls afoul of the recently merged advice to not make use of overrideAttrs in Nixpkgs.
That said, it does indeed fix the passthru override. I'll whip up a short PR to make this look a little better.
Wasn't that more of a security concern? I don't see this as creating a new version of the package if it's merely setting |
|
Any remaining blockers? |
fixes tesseract passthru.
error was surfaced by: #423615
fixes: #440907
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.Add a 👍 reaction to pull requests you find important.