Thanks ! To be fair, NixOS/nix#3230 already provided a (better) solution to links corruption, but was not advertised enough in this thread.
Fixing --repair-path avoids frustration in some cases but, as the warning message in my commit suggests, running a full store repair remains a good idea in that case.
For future reference, if you ever reach here: run nix-store --verify --check-contents --repair
unless you have a good reason to repair only one of all the corrupt paths.
Le 11 janvier 2022 15:31:27 GMT+01:00, Ellie Hermaszewska @.***> a écrit :
oh my goodness 👏 👏 👏 👏
-- Reply to this email directly or view it on GitHub: NixOS/nix#1281 (comment) You are receiving this because you commented.
Message ID: @.***>
Originally posted by @layus in NixOS/nix#1281 (comment)
Followed by if needed, offending path, as root:
nix-store --repair-path /nix/store/w0cpwqkiim2b3cd8k0j5j1cz0s8kz87q-qemu-aarch64-binfmt-P-x86_64-unknown-linux-musl