!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

896 Members
For people hacking on the Nix package manager itself189 Servers

Load older messages


SenderMessageTime
4 Jan 2026
@aleksana:mozilla.orgFind me at aleksana:qaq.li changed their display name from aleksana 🏳️‍⚧️ (deprecated) to Find me at aleksana:qaq.li.17:14:40
5 Jan 2026
@kybe:kybe.xyzkybe joined the room.04:02:42
@kleha:matrix.orgKleha joined the room.06:07:51
@genxlaura2479:matrix.orgLaura A joined the room.08:56:59
@twig6943:matrix.org@twig6943:matrix.org left the room.23:17:36
8 Jan 2026
@pltrz_:matrix.orgpltrz set a profile picture.23:50:13
9 Jan 2026
@pltrz_:matrix.orgpltrz changed their profile picture.00:00:44
@xoartox:envs.netxoartox joined the room.18:52:07
11 Jan 2026
@9hp71n:matrix.orgghpzin changed their display name from ghpzin (moved to @ghpzin:envs.net) to ghpzin.15:04:32
@ghpzin:envs.net@ghpzin:envs.net left the room.16:21:53
12 Jan 2026
@sbc64:matrix.org@sbc64:matrix.org left the room.16:15:15
@kranzes:matrix.orgIlan Joselevich (Kranzes)Is there a place explaining NIX_PATH parsing with more complex paths like "nixpkgs=flake:github:NixOS/nixpkgs/nixos-22.05" which include many colons?17:08:25
@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 (back on matrix)
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 (back on matrix)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
@kranzes:matrix.orgIlan Joselevich (Kranzes) https://gist.github.com/Kranzes/da0ee0920adf9ce94183b6cec3bbe9c2 18:24:28
@roberthensing:matrix.orgroberthI think a lot of folks share that sentiment, on a spectrum between discourage and destroy. What would you suggest for a solution?18:24:30
@kranzes:matrix.orgIlan Joselevich (Kranzes)FWIW: That search path is taken from the docs of findFile, makes it a whole lot more confusing when you realize it works with -I but not with NIX_PATH18:25:12
@raitobezarius:matrix.orgraitobezariusThere's not much solutions to propose at this step18:25:26
@raitobezarius:matrix.orgraitobezariusIt depends on a rework of the setting system18:25:32
@raitobezarius:matrix.orgraitobezariusbecause it is deeply related to that18:25:36
@kranzes:matrix.orgIlan Joselevich (Kranzes)FWIW, I get totally different behavior on Lix, something with how Lix ignores NIX_PATH with flakes maybe? I'm really not sure18:26:53
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)
In reply to @kranzes:matrix.org
https://gist.github.com/Kranzes/da0ee0920adf9ce94183b6cec3bbe9c2
I also have a feeling that port in URL’s authority will parse funnily
18:27:11

Show newer messages


Back to Room ListRoom Version: 6