forked from lix-project/lix
86b05ccd54
This allows writing fallback code like if builtins ? fetchClosure then builtins.fetchClose { ... } else builtins.storePath ...
667 B
667 B
Release X.Y (202?-??-??)
-
Various nix commands can now read expressions from stdin with
--file -
. -
nix store make-content-addressable
has been renamed tonix store make-content-addressed
. -
New experimental 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). Likebuiltins.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.This function is only available if you enable the experimental feature
fetch-closure
.