| 26 Mar 2026 |
boop-north | Is that all? | 11:26:02 |
raitobezarius | the data should be in there, yes | 11:40:05 |
boop-north | it did indeed nuke everything but its fine | 11:52:17 |
boop-north | also is there any way to make nix profile install and nix profile add synoymous | 11:53:07 |
boop-north | not being able to use add when nix search copy paste's that is... very annoyinh | 11:53:28 |
boop-north | * not being able to use add when nix search copy paste's that is... very annoying | 11:53:33 |
boop-north | I've read the docs about being able to make stuff like nix-shell synoymous with nix shell and that it isnt supported beyond that but maybe it could be changed in the next release? | 11:54:18 |
raitobezarius | Are you thinking of https://git.lix.systems/lix-project/lix/issues/1139 ? | 11:55:21 |
raitobezarius | I'm not sure I understand what do you mean by that | 11:55:47 |
aloisw | In reply to @esperlily:matrix.org in fact, i’m pretty sure that if dynamic attributes did have recursive semantics then i could write an expression that is undecidable. i could write a pair of dynamic keys that would form a dependency loop, and i could write a dynamic key (or maybe a pair of them) that would cause a contradiction in evaluation, a key that evaluates to a given string if and only if it doesn’t evaluate to that string. dynamic attributes in a recset must be non-recursive. and that’s fine. i’d rather have non-recursive dynamic attributes then forbid having the dynamic attributes Yes that is exactly the problem, the dependency loop would only consider the static attributes (and possibly the dynamic ones evaluated previously, not sure on that) with predictably surprising results. IIRC let … in does not have this issue and will infrec instead. | 12:06:48 |
aloisw | In reply to @esperlily:matrix.org and rec-set-dynamic-attrs in the manual still doesn’t actually make a good argument for why the behavior of that is considered bad. it makes perfect sense to me that a dynamic attr in a rec set is evaluated after the others (e.g. that the ability to reference keys from the recset in the dynamic attribute key demands that it be evaluated after) and also that the dynamic attribute itself doesn’t have recursive semantics, as the resulting key requires evaluating an expression and it doesn’t exist textually in the source. having the dynamic attribute have recursive semantics would be rather surprising. i am actually mildly surprised that rec { ${ “a” } = 1; b = a; } does in fact work, but in that case the attribute isn’t actually dynamic it just uses the same syntax (which is to say, the key does in fact exist textually in the source and can be statically known without actually evaluating anything) and so i don’t think it’s a problem that this works Yes, ${"a"} is not a dynamic attribute due to the an optimization, and as usual for this language it leaks into the semantics. | 12:08:52 |
boop-north | Yes that's it | 12:11:30 |
boop-north | Redacted or Malformed Event | 12:22:40 |
| waaaaargh joined the room. | 12:23:36 |
boop-north | if home manager follows unstable then wouldnt that break it with lix? | 12:30:02 |
boop-north | I'm deciding if its worth my time to look at if it is prone to breaking | 12:31:00 |
raitobezarius | i use hm unstable too | 12:31:37 |
raitobezarius | and it broke only once recently with the nix profile add thing | 12:31:43 |
boop-north | Okay thanks | 12:33:22 |
boop-north | I was confusing lix-custom-sub-commands | 12:35:01 |
raitobezarius | alright! | 13:28:29 |
Emma [it/its] |
Remote builders can be configured with TOML now
any chance on getting YAML/JSON configuration? | 15:24:49 |
Emma [it/its] | TOML is confusing at best | 15:25:01 |
raitobezarius | probably not | 15:25:06 |
Psentee | I read in the release announcement that you're planning to move flakes support to a plugin, and that it will be possible to add other "installable provider" plugins. What will a plugin look like – C++ code compiled into Lix binary? A .so dynamic lib that Lix will dlopen()? A subprocess / separate binary, communicating over some defined protocol? | 15:25:16 |
raitobezarius | YAML and JSON were rejected for similar reasons and TOML was considered as the least bad solution | 15:25:23 |
raitobezarius | a .so yes | 15:25:29 |
raitobezarius | something like --plugin-files /path/to/.so | 15:25:40 |
raitobezarius | the latter, subprocess / separate binary will also become possible | 15:25:56 |
Emma [it/its] | urgh, this sucks | 15:25:57 |