!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

424 Members
(Technical) development of Lix, the package manager, a Nix implementation. Please be mindful of ongoing technical conversations in this channel.141 Servers

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


SenderMessageTime
5 Dec 2025
@Ericson2314:matrix.orgJohn Ericsonthings like passAsFile and the sturcturedAttrs files get interesting when they contain CA renamings22:42:43
@Ericson2314:matrix.orgJohn Ericsonbecause can't just pre-generate those files prior to building inputs and make separate store objects22:43:08
@Ericson2314:matrix.orgJohn Ericsonand forgot how to rename them22:43:14
@Ericson2314:matrix.orgJohn Ericsonit is a very annoying problem22:43:52
6 Dec 2025
@Ericson2314:matrix.orgJohn Ericson @puck:puck.moe: so edef reminded me that "last minute" input addressing is like merely "applicative" rather than monadic dynamic derivations. This makes me realize that rewriting inputs /placeholders, desugaring structured attrs / passAsFile can be seen as a mini, possibly built-in dynamic derivation 03:27:50
@Ericson2314:matrix.orgJohn EricsonI think this works nicely with the core derivation only having input sources, and being what is given to the builder03:28:45
@Ericson2314:matrix.orgJohn EricsonPut another way, depending on an unbuilt derivation output is more domain-specific operation 03:29:18
@Ericson2314:matrix.orgJohn EricsonThe graph can be full of domain-specific garbage because the sandboxer doesn't care03:29:47
@puck:puck.moepuck

passAsFile/etc are kinda wonky; i'd at best consider this a separate .drv format, really

the original design i lost was like. a {* str => user-defined-format} so you could have {"nix.drv.v1": {...}} and have those serve as, basically, the way requiredSystemFeatures is abused

09:43:23
@puck:puck.moepuckand yeah, i realise i can actually slim down the core data a bit more; the map of derivation inputs can live in the meta/steering data entirely (because the bstr in the steering data is enough to verify the store path) though it makes rewriting derivations a bit wonkier09:44:37
@puck:puck.moepuckbut CA derivations would have to be represented as a slightly different format to make the realisation format Sensible with this09:45:09
@Ericson2314:matrix.orgJohn Ericson @puck:puck.moe: yeah sounds good. We have enough legacy cruft that I sort of like to let the refactoring "organically" figure out the details, if that makes sense 16:29:57

Show newer messages


Back to Room ListRoom Version: 10