!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

908 Members
For people hacking on the Nix package manager itself192 Servers

Load older messages


SenderMessageTime
19 Jan 2026
@raboof:matrix.orgraboofyeah I wasn't saying we should change this, just calibrating my expectations ;) - but nice to see more people have been pondering (and even hacking on) this ;)15:07:34
@roberthensing:matrix.orgRobert Hensing (roberth)no, raboof, you are in the rabbit hole with us now!15:08:04
@roberthensing:matrix.orgRobert Hensing (roberth)I agree it's a good kind of change, but the second order effects are real. E.g. you upgrade, you use it, I don't, it fails for me, I complain, we lose15:09:02
@roberthensing:matrix.orgRobert Hensing (roberth)not to say we can't get over that. It's still an improvement, but is it the right thing to do now?15:10:05
@roberthensing:matrix.orgRobert Hensing (roberth)I'd want to know the long term impact on evaluator performance including opportunities missed. tricky.15:10:47
@roberthensing:matrix.orgRobert Hensing (roberth)maybe it's a cognitohazard and we should just ignore it for another year15:12:57
@raboof:matrix.orgraboof yeah, performance-wise it's hard to predict the trade-off between the benefit of not needing to evaluate the first parameter vs the cost of delaying when it's needed after all - AFAICT infinisil's work seems to suggest it's not a huge benefit (if at all). 15:13:54
@shine:proqqul.netTaeer Bar-YamAlso would this change solve anything for anyone or improve anything? I don’t think I’ve ever run into a situation that needed it, personally15:13:58
@roberthensing:matrix.orgRobert Hensing (roberth) It could solve a portion of infinite recursions that necessitate lazyAttrsOf instead of attrsOf in module system use. Actually it might make that use case worse because definition merge order is deterministic but arbitrary in the module system. 15:16:08
@roberthensing:matrix.orgRobert Hensing (roberth) It would speed up nix-env -q because // { type = "derivation"; } could just be the last thing in every mkDerivation (or similar) call. 15:16:58
@joerg:thalheim.ioMic92A different rabbit hole is improving narinfo lookup in our current binary cache protocol by adding an efficient index that can be downloaded (incrementally): https://github.com/NixOS/rfcs/pull/195 For now kalbasit is implementing this in his binary cache proxy. And I am planning on matching this with my binary cache implementations, but at some point it would be also useful for Nix to have something like this. Currently it's in concept stage and we want to test with some implementations how it performs. It would be the dream if we also had this in cache.nixos.org, but it would be also useful otherwise i.e. if you have many small scoped caches and don't want to reach out to each of them all the time. It unlocks features like efficient p2p binary caches.15:17:35
@magic_rb:matrix.redalder.orgmagic_rbexciting times15:18:08
@roberthensing:matrix.orgRobert Hensing (roberth)If I were to shepherd that RFC I'd basically require cache.nixos.org integration before completing the RFC15:18:51
@roberthensing:matrix.orgRobert Hensing (roberth)If it doesn't work for that (almost) what's the point15:19:01
@roberthensing:matrix.orgRobert Hensing (roberth)* If it doesn't work for that what's the point (almost)15:19:55
@joerg:thalheim.ioMic92Not really, required. It doesn't even need to be accepted by the nix community as long as there are compatible implementations.15:19:57
@joerg:thalheim.ioMic92But it's nicer if everyone use the same standard of course15:20:29
@joerg:thalheim.ioMic92Right now cache.nixos.org is a rather big dataset that is hard to experiment with.15:22:14
@roberthensing:matrix.orgRobert Hensing (roberth)It is the most worthwhile though15:22:32
@roberthensing:matrix.orgRobert Hensing (roberth)Most worthwhile per byte even, I would argue ;)15:22:42
@roberthensing:matrix.orgRobert Hensing (roberth)But do ignore me if I'm just a whiny bitch15:23:19
@roberthensing:matrix.orgRobert Hensing (roberth)That is a very real possibility15:23:31
@joerg:thalheim.ioMic92Yeah a lot RFCs are suffering from feature creap.15:23:40
@roberthensing:matrix.orgRobert Hensing (roberth)Maybe we need more version twos15:24:09
@roberthensing:matrix.orgRobert Hensing (roberth)At least this is a relatively transient and optional thing where going to a v2 isn't all that painful. Just switch15:24:53
@joerg:thalheim.ioMic92As an RFCs author you are exposed to a multitude of opinions that can become noisy and contradict each other.15:25:04
@joerg:thalheim.ioMic92I sometimes have a feeling the are too many cooks.15:25:22
@raboof:matrix.orgraboof Mic92: apropos binary cache proxies: at some point I want to build a binary cache proxy that does "fetch from upstream binary cache if there's a matching trusted independent rebuild attestation, otherwise rebuild myself". Any recommendations on whether I should base that on any existing cache proxy (which one?) or just keep it independent? It seems fairly simple (but that's famous last words :D ) 15:25:30
@roberthensing:matrix.orgRobert Hensing (roberth)Well, that's the point, right? You get all the opinions, and then you decide15:25:41
@roberthensing:matrix.orgRobert Hensing (roberth)It creates a well-informed decision15:25:56

Show newer messages


Back to Room ListRoom Version: 6