!9IQChSjwSHXPPWTa:lix.systems

Lix

1116 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-rooms303 Servers

Load older messages


SenderMessageTime
15 Feb 2026
@522_:catgirl.cloud0x4fbb09 it/its โ›ฏโœ‡ฮ˜ฮ” (you may want to run nix-store --verify --check-contents, i suspect you have more than just that corrupted?) 21:53:26
@kuruczgy:matrix.orgkuruczgyYeah in this case it's pretty clear that this is a HW fuckup. Good point on verifying my whole store, but unfortunately I could entirely see that this is a one-off, and my non-ECC RAM HW is just working as intended...21:55:46
@kuruczgy:matrix.orgkuruczgy Anyway, is there a command to actually rebuild/repair this store path? nix-store --repair-path only talks about substituters, and nix build --rebuild/nix-build --check clearly does not detect the issue or try to replace anything. 22:03:35
@kuruczgy:matrix.orgkuruczgyThough I guess it would probably be smart to rebuild anything that depends on this, so probably I want a recursive delete anyway...22:05:01
@fumnanya:matrix.orgfumnanya couldn't you just..... nix-store --delete /nix/store/hash and rebuild your system/package? 22:07:06
@kuruczgy:matrix.orgkuruczgy nix-store --delete ... refuses to delete it since some other paths depend on it, and I don't see a "delete this path and anything that depends on it recursively" option 22:08:05
@fumnanya:matrix.orgfumnanya

you could probably do that with some xargs magic, see here

what does nix-store -q --referrers-closure /nix/store/vyfilqz68s0hld82n37l0s9p1nzsjcdr-linux-6.19.0-modules give?

22:21:27
@kuruczgy:matrix.orgkuruczgy

Well, quite a few nixos-systems... In fact, I just realize this is my booted kernel ๐Ÿ˜…

$ nix why-depends /run/booted-system /nix/store/vyfilqz68s0hld82n37l0s9p1nzsjcdr-linux-6.19.0-modules
/nix/store/wmr5xisvxzqgwwcvk9nm4p5f07w0xc3v-nixos-system-cobalt-26.05
โ””โ”€โ”€โ”€/nix/store/02qwxxfw4bs7vhlgf6k3v69lrz5vy2hz-linux-6.19.0-modules
    โ””โ”€โ”€โ”€/nix/store/vyfilqz68s0hld82n37l0s9p1nzsjcdr-linux-6.19.0-modules
22:24:18
@kuruczgy:matrix.orgkuruczgyOk, so deletion is definitely not an option, I need some in-place replacement22:24:40
@fumnanya:matrix.orgfumnanyahmmm you probably didn't build your own kernel though...it probably came from cache.nixos.org.....so shouldn't repair-path work then?22:25:16
@kuruczgy:matrix.orgkuruczgyI definitely did build my own kernel22:25:29
@kuruczgy:matrix.orgkuruczgy

nix-store --verify --check-contents finished, it found one other bad path in the whole store, so this does not seem like a widespread corruption.

reading the Nix store...
checking path existence...
checking link hashes...
checking store hashes...
path '/nix/store/d61f7l6yyqk1n5kljzy893iv9xr6zgmh-curl-impersonate-1.4.2' was modified! expected hash 'sha256-By0RCVGwSBN4icsLsIgCtxBc7n2Od840S4p0g/zPka0=', got 'sha256-pQpattmS9VmO3ZIQUFn66az8GSmB4IvYhTTCFn6SUmo='
path '/nix/store/vyfilqz68s0hld82n37l0s9p1nzsjcdr-linux-6.19.0-modules' was modified! expected hash 'sha256-9c9vmIar3f/xtbpfTVFugBRLqdCI7dS6aibpSxZRrCA=', got 'sha256-WWV4alvXbw7zgmG0yHrlnMS7W5NcxgtTjowTQkJ8dAc='
warning: not all store errors were fixed

So I guess it's either the RAM or the SSD that's the culprit.

22:43:02
@kuruczgy:matrix.orgkuruczgyWell I just rebooted and both corruptions are gone ๐Ÿ‘€22:48:04
@fumnanya:matrix.orgfumnanyaoh wow....yay(?)22:49:21
@fumnanya:matrix.orgfumnanyamaybe do a memtest overnight hehe22:49:59
16 Feb 2026
@encrypteddvjjrxv:x-hain.deparrot (he/him) changed their display name from Parrot (he/him) to parrot (he/him).01:40:46
@erin:erindesu.czErin [ DEPRECATED ] changed their display name from Erin ยท she/they ยท ๐Ÿณ๏ธโ€โšง๏ธ๐Ÿณ๏ธโ€๐ŸŒˆ to Erin [ DEPRECATED ].01:50:21
@ernfoury:matrix.orgErn joined the room.02:17:17
@ernfoury:matrix.orgErnHello, I have a problem with reinstalling Lix on Darwin that I don't know how to solve.02:17:55
@ernfoury:matrix.orgErnMy nix darwin install previously broke, so I uninstalled it. It left the _nixbld users behind, so I removed them.02:18:48
@ernfoury:matrix.orgErn I then tried to install lix with
curl -sSf -L https://install.lix.systems/lix | sh -s -- install
02:19:21
@ernfoury:matrix.orgErnThe installer prompted me to escalate privileges, which I did. The installer then threw this error.02:20:32
@ernfoury:matrix.orgErn

INFO Step: Configure Nix
ERROR
0: Install failure
1: Error executing action
2: Action configure_nix errored
3: Action setup_default_profile errored
4: Failed to execute command with status 1 HOME="/Users/ernnn" "/nix/store/gxpdrn2sw1xpymxmsrxc7c706b7higws-lix-2.94.0/bin/nix-store" "--load-db", stdout:
stderr: warning: $HOME ('/Users/ernnn') is not owned by you, falling back to the one defined in the 'passwd' file ('/var/root')
error: you don't have sufficient rights to use this command

4:
Location:
src/cli/subcommand/install.rs:300

02:21:56
@ernfoury:matrix.orgErn *
ERROR 
   0: Install failure
   1: Error executing action
   2: Action `configure_nix` errored
   3: Action `setup_default_profile` errored
   4: Failed to execute command with status 1 `HOME="/Users/ernnn" "/nix/store/gxpdrn2sw1xpymxmsrxc7c706b7higws-lix-2.94.0/bin/nix-store" "--load-db"`, stdout: 
      stderr: warning: $HOME ('/Users/ernnn') is not owned by you, falling back to the one defined in the 'passwd' file ('/var/root')
      error: you don't have sufficient rights to use this command

   4: 
Location:
   src/cli/subcommand/install.rs:300```
02:22:16
@ernfoury:matrix.orgErnThe revert also errored with02:23:17
@ernfoury:matrix.orgErn
   0: Action `create_apfs_volume` errored
   1: Failed to execute command with status 1 `"/usr/sbin/diskutil" "apfs" "deleteVolume" "Nix Store"`, stdout: Started APFS operation
      Deleting APFS Volume from its APFS Container
      Unmounting disk3s7
      The volume "Nix Store" on disk3s7 couldn't be unmounted because it is in use by process 0 (kernel)

      stderr: Error: -69888: Couldn't unmount disk

   1: 
02:23:23
@hexa:lossy.networkhexahrm, you might have to reboot for the kernel to release the volume02:28:05
@ernfoury:matrix.orgErnGoing to attempt that now02:28:33
@ernfoury:matrix.orgErn

restarted, reran, new error

INFO Step: Provision Nix
ERROR 
   0: Install failure
   1: Error executing action
   2: Action `provision_nix` errored
   3: Action `fetch_and_unpack_nix` errored
   4: Unarchiving error
   5: trying to unpack outside of destination path: /nix/temp-install-dir
   6: Invalid argument

Location:
   src/cli/subcommand/install.rs:300

Revert worked successfully this time.

02:33:07
@ernfoury:matrix.orgErnThird attempt, full success.02:36:52

There are no newer messages yet.


Back to Room ListRoom Version: 10