1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 06:31:14 +02:00

nix store make-content-addressed: Support --from / --to

This commit is contained in:
Eelco Dolstra 2022-03-22 23:40:04 +01:00
parent 98658ae9d2
commit e5f7029ba4
2 changed files with 9 additions and 7 deletions

View file

@ -133,7 +133,7 @@ static RegisterPrimOp primop_fetchClosure({
you can use `nix store make-content-addressed`:
```console
# nix store make-content-addressed /nix/store/r2jd6ygnmirm2g803mksqqjm4y39yi6i-git-2.33.1
# nix store make-content-addressed --from https://cache.nixos.org /nix/store/r2jd6ygnmirm2g803mksqqjm4y39yi6i-git-2.33.1
rewrote '/nix/store/r2jd6ygnmirm2g803mksqqjm4y39yi6i-git-2.33.1' to '/nix/store/ldbhlwhh39wha58rm61bkiiwm6j7211j-git-2.33.1'
```