!9IQChSjwSHXPPWTa:lix.systems

Lix

1132 Members
Lix user channel. Feel free to discuss on-topic issues here and give each other help. For matrix.to links to the rest of the Lix channels, see: https://wiki.lix.systems/books/lix-organisation/page/matrix-rooms315 Servers

Load older messages


SenderMessageTime
26 Mar 2026
@nxrth:beeper.comboop-northIs that all?11:26:02
@raitobezarius:matrix.orgraitobezariusthe data should be in there, yes11:40:05
@nxrth:beeper.comboop-northit did indeed nuke everything but its fine11:52:17
@nxrth:beeper.comboop-north also is there any way to make nix profile install and nix profile add synoymous 11:53:07
@nxrth:beeper.comboop-northnot being able to use add when nix search copy paste's that is... very annoyinh11:53:28
@nxrth:beeper.comboop-north* not being able to use add when nix search copy paste's that is... very annoying11:53:33
@nxrth:beeper.comboop-northI'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:matrix.orgraitobezarius Are you thinking of https://git.lix.systems/lix-project/lix/issues/1139 ? 11:55:21
@raitobezarius:matrix.orgraitobezariusI'm not sure I understand what do you mean by that11:55:47
@aloisw:kde.orgaloisw
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:kde.orgaloisw
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
@nxrth:beeper.comboop-north Yes that's it 12:11:30
@nxrth:beeper.comboop-northRedacted or Malformed Event12:22:40
@waaaaargh:matrix.orgwaaaaargh joined the room.12:23:36
@nxrth:beeper.comboop-northif home manager follows unstable then wouldnt that break it with lix?12:30:02
@nxrth:beeper.comboop-northI'm deciding if its worth my time to look at if it is prone to breaking12:31:00
@raitobezarius:matrix.orgraitobezariusi use hm unstable too12:31:37
@raitobezarius:matrix.orgraitobezariusand it broke only once recently with the nix profile add thing12:31:43
@nxrth:beeper.comboop-northOkay thanks12:33:22
@nxrth:beeper.comboop-north I was confusing lix-custom-sub-commands 12:35:01
@raitobezarius:matrix.orgraitobezariusalright!13:28:29
@emma:rory.gayEmma [it/its]

Remote builders can be configured with TOML now

any chance on getting YAML/JSON configuration?

15:24:49
@emma:rory.gayEmma [it/its]TOML is confusing at best15:25:01
@raitobezarius:matrix.orgraitobezariusprobably not15:25:06
@psentee:matrix.orgPsentee 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:matrix.orgraitobezariusYAML and JSON were rejected for similar reasons and TOML was considered as the least bad solution15:25:23
@raitobezarius:matrix.orgraitobezariusa .so yes15:25:29
@raitobezarius:matrix.orgraitobezarius something like --plugin-files /path/to/.so 15:25:40
@raitobezarius:matrix.orgraitobezariusthe latter, subprocess / separate binary will also become possible15:25:56
@emma:rory.gayEmma [it/its]urgh, this sucks15:25:57

Show newer messages


Back to Room ListRoom Version: 10