| 27 Mar 2026 |
Zoe Z | When a nix build succeeds and created a gcroot, is the path marked valid first or is the gcroot created first? | 21:06:01 |
raitobezarius | the gcroot is created first OTOH | 21:07:10 |
raitobezarius | wait | 21:07:19 |
raitobezarius | which gcroot type are you talking about? | 21:07:23 |
raitobezarius | temporary roots are created very early on | 21:07:27 |
raitobezarius | permanent roots are created quite late | 21:07:30 |
raitobezarius | temporary roots before path registration | 21:07:35 |
raitobezarius | permanent roots after path registration | 21:07:39 |
Zoe Z | nix build --out-link | 21:07:40 |
raitobezarius | OTOH | 21:07:41 |
raitobezarius | temporary roots are always created | 21:07:53 |
raitobezarius | permanent roots are optionally created | 21:07:58 |
raitobezarius | (--out-link is a permanent root) | 21:08:03 |
raitobezarius | i had the same thing! ^^ | 21:08:21 |
raitobezarius | i learned a lot of things about how to write nix ahem | 21:08:30 |
dinckelman | log https://termbin.com/rtpy
flake https://gitlab.com/dinckelman/nix/-/tree/dev | 21:12:11 |
dinckelman | obviously there's just the one error that's my own, but everything else appears to be peerdeps | 21:12:27 |
sky1e | To check I'd suggest opening up your flake.lock and search for nixpkgs_2 (or 1 higher than however nixpkgs versions you expect to have). If you find anything that same search will tell you what depends on it, and thus what you need to override to avoid it | 21:12:38 |
Emma [it/its] | my case was uh, copying my oh-my-zsh config vars into my nix config too litterally | 21:17:20 |
Emma [it/its] | so its throwing a bunch of "oh but slash escape bad!" | 21:17:34 |
sky1e | Your nixpkgs_3 input in your flake.lock is from Oct 9 2024 | 21:18:40 |
raitobezarius | agreed | 21:19:01 |
raitobezarius | textfox is giving you a nixpkgs_3 | 21:19:06 |
raitobezarius | noctalia gives you a nixpkgs (which is not your toplevel nixpkgs — which is nixpkgs_2) | 21:19:35 |
raitobezarius | spicetify is also depending on that same nixpkgs | 21:19:44 |
raitobezarius | as far as I can tell | 21:19:52 |
raitobezarius | you need 3 follows | 21:19:53 |
raitobezarius | one for textfox, noctalia and spicetify | 21:20:00 |
dinckelman | right, lets see what i can do there | 21:20:53 |
dinckelman | textfox was definitely missing one, but the other two are already following my own nixpkgs pin 🤔 | 21:23:25 |