!9IQChSjwSHXPPWTa:lix.systems

Lix

1121 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-rooms302 Servers

Load older messages


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
@k900:0upti.meK900Like yes there are some other issues but that covers most of the common use cases18:12:30
@daslixou:matrix.orgdaslixou Oh 🫣 I'm terribly sorry, I just assumed it as it was the first commit, didn't mean to offend you 19:10:43
@piegames:flausch.socialpiegamesWell I've been on it for only a couple of days so it really isn't much19:22:23
@jyrama:garm.jrd.fijyramaBtw, speaking of lanzaboote, has anyone noticed any uncompression problems with lix 2.93.3 and lanzaboote?20:43:34
@raitobezarius:matrix.orgraitobezariuswhat does that look like?20:43:56
@raitobezarius:matrix.orgraitobezarius"failed to read compressed data" ?20:44:01
@jyrama:garm.jrd.fijyramaMine downloads some blob to the nix store and then fails to extract the xz archive20:44:04
@raitobezarius:matrix.orgraitobezariusif so, this is not a lanzaboote interaction problem20:44:07
@jyrama:garm.jrd.fijyramaSound familiar yes…20:44:15
@raitobezarius:matrix.orgraitobezarius curl --version ? 20:44:20
@jyrama:garm.jrd.fijyramaOn my way home, will check that on arrival20:44:53
@raitobezarius:matrix.orgraitobezariusnp20:45:08
@raitobezarius:matrix.orgraitobezariusi feel like there was a sensible reason which was like we should always check for cgroups, especially to discover above cases20:45:56
@raitobezarius:matrix.orgraitobezariusi wonder what to think about nix on droid which doesn't seem to have a valid cgroupv2 filesystem mounted20:46:33
@raitobezarius:matrix.orgraitobezariusit feels like an unsupported configuration, why it doesn't have a cgroupv2 fs?20:46:48
@raitobezarius:matrix.orgraitobezariusthat being said, we should probably be more graceful, for sure20:47:05

Show newer messages


Back to Room ListRoom Version: 10