NixOS Module System | 172 Members | |
| 36 Servers |
| Sender | Message | Time |
|---|---|---|
| 13 Dec 2024 | ||
| Thanks for looking into it and the explanation. Maybe it's something I'll look into working on once I'm more familiar with some of the internals here This was actually my first time looking at the impl of stuff like doRename 😆 | 22:59:21 | |
| 14 Dec 2024 | ||
| Don't rename modules usually expect the alias-option to not exist; i.e. I've definitely made renames into submodules from outside before (we do this for 50% of nixvim lol), but IIRC making renames out from submodules runs into issues because In nixvim I experimented with resolving the option path recursively, using (This would be It's also been a while since I looked at the linked code, and IIRC some stuff in that file is broken. Probably the unrelated | 04:48:16 | |
| 17 Dec 2024 | ||
| Came back to the problem tonight before checking this room again. Seems I came up with a pretty similar solution lol
The | 02:01:44 | |
| And seriously, thanks for linking that deprecations file. If I ever need to do this more, I'll totally have to borrow some stuff from there 👍️ | 02:03:28 | |
| I really don't recommend using I would recommend trying to find the option by recursively walking the "option attr path" (aka
Once you have the actual (sub)option you can make use of | 09:49:16 | |
| 20 Dec 2024 | ||
| 13:59:03 | ||
| 21 Dec 2024 | ||
| 05:08:18 | ||
| 21:16:14 | ||
| 21:37:38 | ||
| 21:56:33 | ||
| 22 Dec 2024 | ||
| 20:27:50 | ||