1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-26 20:01:15 +02:00

Document fetchClosure

This commit is contained in:
Eelco Dolstra 2022-03-22 23:31:48 +01:00
parent 28186b7044
commit 98658ae9d2
2 changed files with 40 additions and 0 deletions

View file

@ -4,3 +4,10 @@
* `nix store make-content-addressable` has been renamed to `nix store
make-content-addressed`.
* New builtin function `builtins.fetchClosure` that copies a closure
from a binary cache at evaluation time and rewrites it to
content-addressed form (if it isn't already). Like
`builtins.storePath`, this allows importing pre-built store paths;
the difference is that it doesn't require the user to configure
binary caches and trusted public keys.