| 25 Nov 2025 |
goldstein | 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 | if you do, then I think just manually dependency-injecting is not that hard | 15:33:41 |
Atemu | What I mean is the structure of the flake.nix; inputs, outputs and the schema of the outputs | 15:33:38 |
Sofie 🏳️⚧️ (she/her) | * | 15:33:39 |
goldstein | if 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 modular | 15:34:49 |
Atemu | Honestly for any remote inputs, it can do pure eval or whatever it wants; I just want nix projects on my local filesystem to function sensibly | 15:35:25 |
Atemu | (Like, what Nix would otherwise do with a flake) | 15:35:50 |
Sofie 🏳️⚧️ (she/her) | Anyways, now that we have a lix committee, times for an proper standard honestly | 15:36:17 |
goldstein | preach
I did so much reverse engineering for this project | 15:36:35 |
Sofie 🏳️⚧️ (she/her) | or at least start work on a RFC or something | 15:36:38 |
Atemu | @goldstein:tty5.dev: Could I DM you an SSH pubkey for access to the WIP code? | 15:37:35 |
goldstein | 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 | I 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 docs | 15:39:19 |
Atemu | That'd be awesome :)
I don't expect good code quality from a WIP/PoC ;)
| 15:40:28 |
goldstein | Atemu if matrix doesn’t stop matrixing, you can ping me at root@goldstein.lol emali | 15:45:17 |
goldstein | * Atemu if matrix doesn’t stop matrixing, you can ping me at root@goldstein.lol email | 15:45:22 |
Atemu | Thanks lol ^^' | 15:45:54 |
aloisw | Isn't that what https://git.lix.systems/lix-project/flake-compat is supposed to achieve with copySourceTreeToStore = false? | 17:07:33 |
aloisw | 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 |
Atemu | This was pointed out to me independently 20min ago; will have a look! | 17:11:19 |
raitobezarius | 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 | But the new machines format would make this greatly easier | 17:15:03 |
piegames | 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 | 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 | It does a bunch of filesystem accesses on startup, no matter what you end up actually using. | 17:37:22 |
aloisw | 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 left the room. | 18:12:46 |
piegames | Any good options for me to run some simple nix evals in the build sandbox? | 18:49:53 |
Yureka (she/her) | yeah you can just --store $PWD | 19:41:19 |
Atemu | IIRC there's also a dummy store. It can't add files but parsing shouldn't need that? | 23:11:41 |