lib.concatMapAttrs: Simplify stack trace#235197
Conversation
|
@piegamesde might be interested in this as the author of NixOS/rfcs#148 |
|
@infinisil Thanks, this is an interesting example. On another note, I'd like to see less pull requests of the kind "self-merged after 3 hours", even for simple and straightforward changes |
Agreed! I would've merged this PR @roberth 🙂 |
Ok. Feels unnecessary, but I can think of some arguments. I'll do my part and see how it goes.
Actually I just pulled this commit from #202517 with the intent of removing the trivial stuff to make review easier. I didn't want to bother anyone with review because I thought it was uninteresting and not worth their time. So I got that wrong then. |
|
I understand your motivation and don't think merging this PR quickly was inherently bad. It's just that not all Nixpkgs contributors hold themselves up to the same standards, so this kind of thing tends to occasionally go wrong and break things. And it's of course difficult to differentiate here, so the next best thing is to normalize some generous safety margins, even though they might feel (and be) unnecessary in some situations. |
Description of changes
By removing the unnecessary
pipeandflip, we get a simpler, shorter stack trace.Things done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)