forked from NixOS/nix
-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
nix copy does not preserve provenance information.
Steps To Reproduce
(assuming both machines have provenance feature enabled)
- On machine A,
nix build --option substitute false nixpkgs#hello - On machine A, observe that
nix provenance showreports provenance information - On machine B,
nix copy --from ssh-ng://machine-a /nix/store/...-hello --no-check-sigs - On machine B, observe that
nix provenance showsays "no provenance information available"
Expected behavior
nix copy preserves provenance information, and running nix provenance show on machine B should report the same provenance as on machine A, plus also the fact that it was copied from machine B.
Metadata
Nix (Determinate Nix 3.16.2) 2.33.3
Additional context
Checklist
- checked latest Determinate Nix manual (source)
- checked open bug issues and pull requests for possible duplicates
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working