Skip to content

[CA-drvs] nix-store --export fails with "error: hash of path ... has changed" #4792

@fogti

Description

@fogti

Describe the bug

nix-store --export /nix/store/q5dfzj5jm03asw3lzq6l0m2ivr0miixs-libunistring-0.9.10 fails on my machine with:

error: hash of path '/nix/store/q5dfzj5jm03asw3lzq6l0m2ivr0miixs-libunistring-0.9.10' has changed from 'sha256:1fl38plbsahjcnmpnrd6yqk8wzpw0wr6wxghyzm3wzg3ww571s0w' to 'sha256:1k4iikm5r2zsl5g3sf9wd02f4qf61qn022cnp82j4dc67b1zxbpa'!

Steps To Reproduce

unknown

Expected behavior

nix-store --export should succeed or at least suggest a possible solution.

nix-env --version output
nix-env (Nix) 2.4pre20210510_7f9759b

Additional context

My nix.conf:

max-jobs = auto
experimental-features = nix-command ca-derivations ca-references flakes
keep-outputs = true
keep-derivations = true
substituters = https://cache.ytrizja.de https://cache.nixos.org https://nix-community.cachix.org https://cache.ngi0.nixos.org/
trusted-public-keys = cache.ytrizja.de:iZzXw6+kwvY/6CZMufK+dul5i44nJeJ3rsYg2HNpLQc= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs= cache.ngi0.nixos.org-1:KqH5CBLNSyX184S9BKZJo1LxrxJ9ltnY2uAs5c/f1MA=

Metadata

Metadata

Assignees

Labels

bugca-derivationsDerivations with content addressed outputs

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions