| 25 Nov 2025 |
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 |
raitobezarius | correct | 23:48:52 |
| 26 Nov 2025 |
| Ellie (The Fake One) changed their display name from ellie to ellie (the cooler one). | 00:56:10 |
| Ellie (The Fake One) changed their display name from ellie (the cooler one) to ellie (the hot one). | 00:56:57 |
sterni | I’m not sure this actually solves the problem unless —store dummy:// etc also change the state directory | 06:55:32 |
sterni | nix-instantiate —parse (and often —eval) don’t need to write to the store and don’t need profiles but it tries to create those nonetheless, feels fixable to me definitely | 06:56:37 |
sterni | piegames: the probably most portable way to work around it would be to set NIX_STATE_DIR to a temporary directory in the drv, you may also need to set NIX_STORE_DIR, not sure | 06:57:46 |
sterni | you can find plenty of examples of this in nixpkgs | 06:57:57 |
| Spectral (he/him) joined the room. | 07:57:43 |
ShalokShalom | Could the Cloudflare issue been prevented by a configuration setting, that would make the rebuild fail? | 10:08:24 |
K900 | ...what | 10:15:02 |
K900 | What "Cloudflare issue" | 10:15:06 |
Arian | wrong chat maybe? :D | 10:18:36 |
toonn | Maybe they mean "If Cloudflare used NixOS they wouldn't've made the mistake." | 10:19:47 |
| Gnuxie 💜🐝 changed their profile picture. | 10:32:31 |
ToxicFrog | K900: I'm guessing the recent one where a bad config push caused them to crashloop for a while | 11:39:34 |
truh | I've definitly deployed crashloops with nixos too. | 12:05:01 |
Sofie 🏳️⚧️ (she/her) | @k900:0upti.me just that I remember to, may you leak something about the secret handling thing | 13:05:30 |
Sofie 🏳️⚧️ (she/her) | * @k900:0upti.me just that I remember to, may you link to something about the secret handling thing | 13:05:39 |
Sofie 🏳️⚧️ (she/her) | * @k900:0upti.me just that I remember to say so sorry ping, may you link to something about the secret handling thing | 13:05:49 |
K900 | I don't think it's written down anywhere, but it has been discussed a hunch | 13:46:49 |
aloisw | … or it doesn't try to write to the state directory, unlike the real store. | 15:28:02 |
| deman9 joined the room. | 18:45:36 |