| 7 Apr 2026 |
zoë (she/her) | * i can't bisect lix right now (personal laptop is still dead, and i can't really do this on work hours ;-;), i'll just make an issue (edit: #1178) and people can tell me i'm dumb on forgejo | 08:47:51 |
kfiz | I'm trying to delete a misbehaving store-path.
➜ store nix store delete /nix/store/ld2j2mq254m77hwy22pyvrs861ap1374-glibc-locales-2.42-51 --ignore-liveness
this path will be fetched (0.00 MiB download, 222.42 MiB unpacked):
/nix/store/ld2j2mq254m77hwy22pyvrs861ap1374-glibc-locales-2.42-51
0 store paths deleted, 0.00 MiB freed
error: ignore-liveness is not supported via the Lix daemon; try running the command again with `--store local` and as the user that owns the Nix store (usually root)
yet https://docs.lix.systems/manual/lix/stable/command-ref/new-cli/nix3-store-delete.html#opt-ignore-liveness . So docs probably need an update
| 10:00:11 |
K900 | Well it does tell you what the fix is | 10:11:48 |
K900 | It's not supported specifically when going through the daemon protocol | 10:11:59 |
goldstein | cc raitobezarius my big “evaluating all the flakes” writeup is now up, including info about my setup & scripts I used https://goldstein.lol/posts/great-nix-flake-check/ | 15:55:25 |
raitobezarius | Super fascinating | 16:47:41 |
raitobezarius | Thank you for the mention and the article | 16:47:53 |
raitobezarius | Sona poki looks very interesting too | 16:47:59 |
raitobezarius | I wonder if we should go the Go proxy route to solve the GH rate limit issue | 16:48:11 |
goldstein | I found that if you want to evaluate something that requires fetching stuff (like flakes), it’s basically the only way | 16:48:41 |
goldstein | github didn’t really explicitly rate limit me when I used a token, but requests became very slow and I was hitting my generous 24 minute timeout all the time | 16:49:27 |
goldstein | reducing github request load 25x really did the difference | 16:50:02 |
goldstein | it also potentially allows benchmarking, although I didn’t get around to this yet | 16:50:29 |
accelbread | is self in flake registry that weird :P Isnt it common to set flake inputs to the registry in nixos config? That ends up setting self (which I use for nix develop self#rust or w/e | 17:06:17 |
accelbread | * is self in flake registry that weird :P
Isnt it common to set flake inputs to the registry in nixos config? That ends up setting self (which I use for nix develop self#rust or w/e) | 17:06:35 |
goldstein | you usually set, like, inputs.nixpkgs there, not inputs.self, no? | 17:07:00 |
zoë (she/her) | i heard about the great flake check a while ago and was really looking forward to the results, this is so cool :D | 17:07:34 |
accelbread | registry = mapAttrs (_: v: { flake = v; }) inputs; | 17:08:26 |
goldstein | yeah, i think it was an idiom like this actually | 17:08:54 |
goldstein | it’s my first time seeing this, I basically only use local registry for nixpkgs and my template set | 17:09:16 |
zoë (she/her) | this might be a dumb question, since i don't use flakes much, but: what's the difference between the registry and nix-channel? | 17:10:40 |
accelbread | Repos using my flake lib read their flake.lock to get inputs when not explicity passed, so interesting that there werent more failures due to that | 17:12:44 |
accelbread | In reply to @blokyk:matrix.org this might be a dumb question, since i don't use flakes much, but: what's the difference between the registry and nix-channel? afaik, channels are for syntax, and registries are for flakerefs | 17:13:30 |
goldstein | registry is a json file on your system (local registry) and another json file global for everyone (global registry) that is used to resolve flake references like nixpkgs | 17:13:44 |
goldstein | i.e. without an explicit url | 17:13:49 |
accelbread | * afaik, channels are for `<nixpkgs>`
syntax, and registries are for flakerefs | 17:13:54 |
goldstein | <nixpkgs> is resolved via NIX_PATH, not channels | 17:14:07 |
accelbread | oh, huh | 17:14:22 |
goldstein | channels is like a pre-flake way to distribute nixpkgs | 17:14:30 |
goldstein | I haven’t used them much, I migrated to flakes quickly, and then to unflake lol | 17:14:44 |