!9IQChSjwSHXPPWTa:lix.systems

Lix

1104 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-rooms294 Servers

Load older messages


SenderMessageTime
25 Nov 2025
@goldstein:tty5.devgoldstein I think the big question here is whether you want to respect transitive dependency lockfiles
I explicitly do not respect them (the problem I’m trying to solve is a billion of nixpkgs in my system closure), so I need to do a bit of extra work to re-solve dependencies
15:33:24
@goldstein:tty5.devgoldsteinif you do, then I think just manually dependency-injecting is not that hard15:33:41
@atemu12:matrix.orgAtemuWhat I mean is the structure of the flake.nix; inputs, outputs and the schema of the outputs15:33:38
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her) * 15:33:39
@goldstein:tty5.devgoldsteinif you do not want to respect them, you’ll probably be able to take my solver and just plug in another “backend”, my design is pretty modular15:34:49
@atemu12:matrix.orgAtemuHonestly for any remote inputs, it can do pure eval or whatever it wants; I just want nix projects on my local filesystem to function sensibly15:35:25
@atemu12:matrix.orgAtemu(Like, what Nix would otherwise do with a flake)15:35:50
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)Anyways, now that we have a lix committee, times for an proper standard honestly15:36:17
@goldstein:tty5.devgoldstein preach
I did so much reverse engineering for this project
15:36:35
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her) or at least start work on a RFC or something 15:36:38
@atemu12:matrix.orgAtemu @goldstein:tty5.dev: Could I DM you an SSH pubkey for access to the WIP code? 15:37:35
@goldstein:tty5.devgoldstein oh, one more fun fact: flake.nix is semi-implemented in nixlang, see https://git.lix.systems/lix-project/lix/src/commit/27a94369a9a76c7e41220060b85b984e3dc6da4e/lix/libexpr/flake/call-flake.nix 15:38:56
@goldstein:tty5.devgoldsteinI can just DM you the file if you want to, it’s not secret or anything, I just need to polish a bit + write some docs15:39:19
@atemu12:matrix.orgAtemu

That'd be awesome :)

I don't expect good code quality from a WIP/PoC ;)

15:40:28
@goldstein:tty5.devgoldstein Atemu if matrix doesn’t stop matrixing, you can ping me at root@goldstein.lol emali 15:45:17
@goldstein:tty5.devgoldstein * Atemu if matrix doesn’t stop matrixing, you can ping me at root@goldstein.lol email 15:45:22
@atemu12:matrix.orgAtemuThanks lol ^^'15:45:54
@aloisw:julia0815.dealoisw Isn't that what https://git.lix.systems/lix-project/flake-compat is supposed to achieve with copySourceTreeToStore = false? 17:07:33
@aloisw:julia0815.dealoisw Of course if the code in the flake itself assumes that it's in the store (which is a valid assumption under flakes) it will either copy anyway or fail. 17:08:43
@atemu12:matrix.orgAtemuThis was pointed out to me independently 20min ago; will have a look!17:11:19
@raitobezarius:matrix.orgraitobezarius
In reply to @piegames:flausch.social
Do we have a command to easily check (and debug) remote builder connections? If not, can I request that as a feature?
Already planned
17:14:17
@raitobezarius:matrix.orgraitobezariusBut the new machines format would make this greatly easier17:15:03
@piegames:flausch.socialpiegames I'm trying to run nix-instantiate --parse within a derivation builder (for Flaker purposes), and it fails with error: creating directory '/nix/var': Permission denied 17:33:30
@piegames:flausch.socialpiegames this makes no sense to me. Why does nix want to create /nix/var directory? I didn't ask it to! I just want it to parse that silly file 17:33:57
@aloisw:julia0815.dealoisw It does a bunch of filesystem accesses on startup, no matter what you end up actually using. 17:37:22
@aloisw:julia0815.dealoisw https://git.lix.systems/lix-project/lix/src/commit/3661f34abafaecc36c9141a70ad84295aa632723/lix/libstore/store-api.cc#L1407-L1411 because the daemon socket doesn't exist, it tries to recreate the local store I guess? 17:40:57
@steeringwheelrules:tchncs.de@steeringwheelrules:tchncs.de left the room.18:12:46
@piegames:flausch.socialpiegamesAny good options for me to run some simple nix evals in the build sandbox?18:49:53
@yuka:yuka.devYureka (she/her)yeah you can just --store $PWD19:41:19
@atemu12:matrix.orgAtemuIIRC there's also a dummy store. It can't add files but parsing shouldn't need that?23:11:41

Show newer messages


Back to Room ListRoom Version: 10