!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

901 Members
For people hacking on the Nix package manager itself191 Servers

Load older messages


SenderMessageTime
22 Nov 2025
@fzakaria:one.ems.hostfzakariaDoesn't MacOS have DTrace ?17:52:06
@fzakaria:one.ems.hostfzakariahttps://8thlight.com/insights/dtrace-even-better-than-strace-for-os-x I think the DTrace engineers even brought it to Linux also now too17:52:41
@fzakaria:one.ems.hostfzakariaso there's eBPF and DTrace17:52:45
@Ericson2314:matrix.orgJohn Ericson And right you were talking about that, thanks @joerg:thalheim.io: 17:53:02
@joerg:thalheim.ioMic92They do have it, but it's not trivial to use and can freeze up your computer: https://lobste.rs/s/q50ecd/strace_macos_clone_strace_command_for19:02:13
23 Nov 2025
@eveeifyeve:matrix.orgeveeifyeve joined the room.21:45:30
@eveeifyeve:matrix.orgeveeifyeve Robert Hensing (roberth): is the sparseNodes already implemented? 21:51:52
@roberthensing:matrix.orgRobert Hensing (roberth) eveeifyeve: it's not been done yet 21:53:45
@roberthensing:matrix.orgRobert Hensing (roberth) it may make sense to play around with the idea in flake-compat first 21:54:38
@roberthensing:matrix.orgRobert Hensing (roberth)it's a more light weight environment for that kind of thing21:54:51
@roberthensing:matrix.orgRobert Hensing (roberth) 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.orgRobert Hensing (roberth)iirc 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.orgRobert Hensing (roberth) 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.orgRobert Hensing (roberth) 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.orgRobert Hensing (roberth) 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.orgRobert Hensing (roberth)btw this is about https://github.com/NixOS/nix/issues/773022:03:23
@roberthensing:matrix.orgRobert Hensing (roberth)Reuse 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

Show newer messages


Back to Room ListRoom Version: 6