!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

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

Load older messages


SenderMessageTime
23 Nov 2025
@roberthensing:matrix.orgroberth eveeifyeve: it's not been done yet 21:53:45
@roberthensing:matrix.orgroberth it may make sense to play around with the idea in flake-compat first 21:54:38
@roberthensing:matrix.orgroberthit's a more light weight environment for that kind of thing21:54:51
@roberthensing:matrix.orgroberth you'd have to generate the sparseNodes structure by hand, but I think it's a good way to explore what actually needs to be in there 21:55:40
@roberthensing:matrix.orgroberthiirc flake-compat is written with one global context of one lock file in mind. Probably makes sense to make those functions a bit more independent first so that it's easier to turn it into something that works for multiple flake locks21:57:40
@roberthensing:matrix.orgroberth so I'm not exactly sure what needs to be in sparseNodes, but my idea is to treat nodes as a dumb storage for pins, ignoring the dependency injection related fields that are in nodes. I don't know if we even want those in the lock file at all because they're basically duplicated info from the easily readable flake.nix inputs. 22:01:14
@roberthensing:matrix.orgroberth so I think the minimum we need is a mapping from the inputs structure to the nodes names that contain the corresponding pins 22:02:21
@roberthensing:matrix.orgroberth and then in the final phase we put the pins in sparseNodes directly instead of a string that references the node 22:02:57
@roberthensing:matrix.orgroberthbtw this is about https://github.com/NixOS/nix/issues/773022:03:23
@roberthensing:matrix.orgroberthReuse input lock files22:03:29
24 Nov 2025
@amadaluzia:unredacted.orgamadaluzia changed their display name from amadaluzia (🇹🇷 til 25th) to amadaluzia.12:57:18
@limwa:matrix.orgAndré Lima joined the room.21:01:04
@limwa:matrix.orgAndré Lima set a profile picture.21:10:25
25 Nov 2025
@shine:proqqul.netTaeer Bar-Yam

RE https://github.com/NixOS/nix/issues/14642 regression

Here's my fix for master https://github.com/NixOS/nix/pull/14644, with tests as well.

CC: Sergei Zimmerman (xokdvium)

16:54:37
@shine:proqqul.netTaeer Bar-Yami have to go for a couple of hours, but I'll check back in after to fix anything that needs fixing16:55:44
@xokdvium:matrix.orgSergei Zimmerman (xokdvium) Taeer Bar-Yam: is it fine if I push over those changes to squash/add tests and do a 2.32 fix? 20:18:00
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Don't want to step on your toes20:18:11
@shine:proqqul.netTaeer Bar-Yamyeah, go for it20:40:15
@shine:proqqul.netTaeer Bar-Yami'm so tired don't know how much more I can focus on this today in any case @_@20:41:09
@shine:proqqul.netTaeer Bar-Yam Sergei Zimmerman (xokdvium) your changes look good to me. should I merge it? 22:34:29
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)If you think that we’ve sufficiently covered all regression then yeah. There’s also a 2.32 backport with revert22:36:30
@shine:proqqul.netTaeer Bar-YamI imagine there's more tests we could cook up, but we can always add those later22:37:43
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Mhm probably. piegames did mention that they will have a bunch of tests we should yoink22:38:38
@shine:proqqul.netTaeer Bar-Yamnice22:38:57
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)When those materialize22:38:59
@shine:proqqul.netTaeer Bar-Yamand i started playing around with fuzzing. inshallah i get that working soon and we'll get more tests from that22:39:16
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Yes please… pannae had that working at some point for the Lix parser rewrite, but it’s better late than never right?22:39:58
19 May 2021
@eelco:nixos.org@eelco:nixos.org changed the history visibility to "world_readable" from "shared".15:40:14
@eelco:nixos.org@eelco:nixos.org changed the room name to "Nix Hackers" from "Nix Development".15:45:04
@eelco:nixos.org@eelco:nixos.org changed the room topic to "For people hacking on the Nix package manager itself" from "Development of the Nix package manager".15:45:04

Show newer messages


Back to Room ListRoom Version: 6