Relocated store URI is reported as 'local'
, wrong
#11873
Labels
bug
error-messages
Confusing messages and better diagnostics
store
Issues and pull requests concerning the Nix store
Describe the bug
The store location in an error message is wrong. See steps.
Steps To Reproduce
There's probably an easier way to trigger this.
<path>
nix copy --to ~/recoverstore <path>
rw
and deleting it from the file system. Do not delete it from the store db; we want that entry to remain.sudo nix store repair --extra-substituters ~/recoverstore --extra-trusted-substituters ~/recoverstore <path>
(the latter option seems to have no effect; need?trusted=true
; different issue)Observe a message like
Expected behavior
nix-env --version
output2.24.10
Additional context
nix repair
does not adhere toextra-trusted-substituters
#11875Priorities
Add 👍 to issues you find important.
The text was updated successfully, but these errors were encountered: