!9IQChSjwSHXPPWTa:lix.systems

Lix

1122 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-rooms303 Servers

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


SenderMessageTime
27 Dec 2025
@k900:0upti.meK900 lanzaboote should be an overlay no? 16:56:51
@piegames:flausch.socialpiegames
In reply to @daslixou:matrix.org
I have to ask, from where are the whole stateful, bytecode, parserstate and thunk things from? I want to make sense of how they'd be used
That's locally defined in the same file, ignore the bytecode scaffolding that's for later
17:05:35
@daslixou:matrix.orgdaslixouno like, from what other parser is it?17:05:57
@daslixou:matrix.orgdaslixouthe bytecode thing looks similar to rustpython, but then it's pretty different afterall and I haven't seen such direct mapping from parser to bytecode elsewhere17:08:51
@madmccrow:matrix.orgmadmccrow Yeah. It is, but for flakes you have to have it in input and use the follows notation. 17:35:49
@k900:0upti.meK900You don't necessarily17:36:56
@k900:0upti.meK900The nixpkgs flake input should not be used if you're using the NixOS module17:37:05
@madmccrow:matrix.orgmadmccrowSee, to me, it looks like the famous xkcd comic about too many standards. I feel like every nix project uses a slightly different approach, making my OCPD twitch looking at imperfect code.17:45:27
@k900:0upti.meK900Overlays are generally the Right Way17:50:01
@k900:0upti.meK900Specifically for this very reason17:50:05
@piegames:flausch.socialpiegames
In reply to @daslixou:matrix.org
the bytecode thing looks similar to rustpython, but then it's pretty different afterall and I haven't seen such direct mapping from parser to bytecode elsewhere
It's from nowhere because that's my own code. Probably nobody sane would attempt single-pass compailation directly in the parser
18:02:44
@piegames:flausch.socialpiegames(The insanity is partially courtesy of horrors)18:05:06
@madmccrow:matrix.orgmadmccrow

Exactly my thoughts. I kinda regret the old /nix/etc way of having a config there, and downloading and building only what's necessary.

I feel like Flakes are very interesting for developing projects and reusable libraries, but they feel way too limiting for managing machines ( secrets, impurities, etc., are still an unsolved issue in my - probably uneducated - opinion)

18:10:45
@k900:0upti.meK900Secrets are mostly solved with agenix/sops-nix tbh18:12:16

Show newer messages


Back to Room ListRoom Version: 10