| 24 Dec 2024 |
6pak | GGG: https://github.com/NixOS/nixpkgs/issues/310373 | 02:16:23 |
GGG | Yes, but there's no difference from what you're doing | 02:20:23 |
GGG | I'm saying to use `finalAttrs` instead of `self` | 02:20:37 |
GGG | But good to know, I'll undo a few `rec` to `finalAttrs` I did in my own PR | 02:20:58 |
6pak | let self works the same way as rec | 02:21:13 |
GGG | I see | 02:21:35 |
6pak | https://nix.dev/guides/best-practices.html#recursive-attribute-set-rec | 02:21:41 |
GGG | I myself prefer `rec` over that, but it's personal preference | 02:21:53 |
6pak | yeah and I think I would too in a typed language | 02:22:20 |
6pak | but in nix it's way too easy to make a mistake with it | 02:22:36 |
6pak | and only catch it after 10 minutes of eval+build | 02:22:48 |
GGG | Fair enough | 02:22:57 |