!VRULIdgoKmKPzJZzjj:nixos.org

Nix Package Manager development

894 Members
For people hacking on Nix: https://github.com/NixOS/nix Nix maintainers can be reached here.187 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
12 Jan 2026
@kranzes:matrix.orgIlan Joselevich (Kranzes)I'm trying to implement the full NIX_PATH parsing logic in snix but I dont even understand the behavior in Nix.17:09:17
@kranzes:matrix.orgIlan Joselevich (Kranzes) Could someone write a NIX_PATH string that includes all the 5 search path attrsets in this example? https://nix.dev/manual/nix/2.33/language/builtins#builtins-findFile 17:11:33
@kranzes:matrix.orgIlan Joselevich (Kranzes)(If that's even possible?)17:11:56
@ss:someonex.netSomeoneSerge (matrix works sometimes)
In reply to @kranzes:matrix.org
(If that's even possible?)
Looking at the code, it's not; -I only works because it skips parseNixPath or something
17:16:32
@ss:someonex.netSomeoneSerge (matrix works sometimes)But nix path parsing is already stateful, so you could make a backwards incompatible change to accommodate those?17:18:07
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)
In reply to @ss:someonex.net
But nix path parsing is already stateful, so you could make a backwards incompatible change to accommodate those?
Greedy behaviour here would have been nice, but from my discussion with raito that’s not exactly a priority atm
17:39:42
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Valentin had a meme for this17:40:23
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)ima_fc5f740.jpeg
Download ima_fc5f740.jpeg
17:42:23
@raitobezarius:matrix.orgraitobezariusit would be ideal to find a path forward to destroy NIX_PATH parsing18:15:16
@raitobezarius:matrix.orgraitobezariusespecially due to the meme18:15:24

Show newer messages


Back to Room ListRoom Version: 6