!9IQChSjwSHXPPWTa:lix.systems

Lix

968 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-rooms264 Servers

Load older messages


SenderMessageTime
12 Jul 2025
@raitobezarius:matrix.orgraitobezariusbuiltins.convertHash for example17:44:44
@georgyo:nycr.chatgeorgyo joined the room.20:29:10
@crystallord:matrix.orgCrystal

Hi Lix folks, does anyone know how paths get resolved in Lix through the store-api? I have a corrupted path... somewhere and I don't know where it's stored:

crystal@seafoam ~ [1]> nix-store --verify --check-contents --debug
performing daemon worker op: 35
reading the Nix store...
checking path existence...
error: path '/nix/store/60yyr6awiyzfjwnpzc8syzm7wbziks6h-pyth/n3.12-setuptools-78.1.0.drv' is not in the Nix store

I suspect the o in python was corrupted to / do to drive issues (or network issues), as they differ only by one bit. Just trying to find where this is coming from so I can delete it, as I can't do any verify checks while this path cache is broken.

20:47:20
@crystallord:matrix.orgCrystal *

Hi Lix folks, does anyone know how paths get resolved in Lix through the store-api? I have a corrupted path... somewhere and I don't know where it's stored:

crystal@seafoam ~ [1]> nix-store --verify --check-contents --debug
performing daemon worker op: 35
reading the Nix store...
checking path existence...
error: path '/nix/store/60yyr6awiyzfjwnpzc8syzm7wbziks6h-pyth/n3.12-setuptools-78.1.0.drv' is not in the Nix store

I suspect the o in python was corrupted to / due to drive issues (or network issues), as they differ only by one bit. Just trying to find where this is coming from so I can delete it, as I can't do any verify checks while this path cache is broken.

20:49:00
@crystallord:matrix.orgCrystalMy current best guess is some db directory that contains some sqlite, based on this line here: https://git.lix.systems/lix-project/lix/src/commit/6e7c0812c78c50c1b06da9a0f326a5e21a1fab6f/lix/libstore/local-store.cc#L9620:52:14
@crystallord:matrix.orgCrystal Actually, spelling that out and finding /nix/var/nix/db/db.sqlite was pretty easy, and indeed there's just a bad entry in that. Uh. Can I just delete this db?... 20:54:09
@emilazy:matrix.orgemily(do not just delete the DB)21:00:02
@crystallord:matrix.orgCrystal Unless Lix has a more functional nix store --init than cppnix, it seems that there's no fix beyond a reinstall, which is very frustrating? https://github.com/NixOS/nix/issues/3091#issuecomment-1931597244 21:03:20
@crystallord:matrix.orgCrystal * Unless Lix has a more functional nix-store --init than cppnix, it seems that there's no fix beyond a reinstall, which is very frustrating? https://github.com/NixOS/nix/issues/3091#issuecomment-1931597244 21:03:52
@firefly:raccoon.collegeFireFlyI would wait a bit for some of the lix devs more familiar with the internals to show up and pitch in before doing anything, if I were you.. it also does seem like something that probably should be safeguarded more against in the future, I guess21:06:45
@lunaphied:lunaphied.meLunaphied
In reply to @crystallord:matrix.org
Actually, spelling that out and finding /nix/var/nix/db/db.sqlite was pretty easy, and indeed there's just a bad entry in that. Uh. Can I just delete this db?...
you could delete that entry from the database but you don't want to delete the database entirely as reconstructing it requires data that's not simply present in the store
21:32:52
@lunaphied:lunaphied.meLunaphied I can get back to you in a little bit with a more meaningful recommendation 21:33:07
@lunaphied:lunaphied.meLunaphied Can you send me that sqlite database? 21:36:34
@crystallord:matrix.orgCrystalCan do, though after dumping it, the entry is gone. It's only visible when looking at the binary directly. So I will send the binary over.21:38:02
13 May 2024
@aciceri:nixos.devzrsk joined the room.13:37:30
@dariof4:matrix.orgdariof4 joined the room.14:16:05
@abbe:badti.meabbe joined the room.14:42:22
@mjm:midna.devmjmlix is now in nixos-unstable, what's the best way to use it in a NixOS config?15:47:41
@k900:0upti.meK900nix.package = pkgs.lix15:47:54
@k900:0upti.meK900Probably15:47:58
@k900:0upti.meK900Or just keep using the module15:48:02
@puck:puck.moepuck you can use nix.package = pkgs.lix; if you want; but using the overlay will guarantee more updates (tho less binary cache) 15:48:44
@mjm:midna.devmjmwell, the module/overlay doesn't easily support using the one from nixpkgs15:48:44
@mjm:midna.devmjmi do want more binary cache15:49:21
@mjm:midna.devmjm yeah i guess i'll just do nix.package then 15:50:43
@raitobezarius:matrix.orgraitobezariusto have binary cache and HEAD, we will probably need to track the channels and bolt a lix on there and rebuild with our own CI then push in our binary cache17:33:17
@charles:computer.surgeryCharlesWhat's lix using as its binary cache? Attic?17:34:36
@arianvp:matrix.orgArian left the room.17:37:44
@tc424:glasgow.social@tc424:glasgow.socialLast I heard they were using garage as the back end, and think about attic17:39:11
@tc424:glasgow.social@tc424:glasgow.socialI don't know if that means they're just pushing directly into garage's s3 interface for the moment17:39:36

Show newer messages


Back to Room ListRoom Version: 10