From e2a70b7ec04db604e9eaadfa6446bd360473163a Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 13 Nov 2006 18:18:13 +0000 Subject: * Magic attribute `exportReferencesGraph' that allows the references graph to be passed to a builder. This attribute should be a list of pairs [name1 path1 name2 path2 ...]. The references graph of each `pathN' will be stored in a text file `nameN' in the temporary build directory. The text files have the format used by `nix-store --register-validity'. However, the deriver fields are left empty. `exportReferencesGraph' is useful for builders that want to do something with the closure of a store path. Examples: the builders that make initrds and ISO images for NixOS. `exportReferencesGraph' is entirely pure. It's necessary because otherwise the only way for a builder to get this information would be to call `nix-store' directly, which is not allowed (though unfortunately possible). --- doc/manual/release-notes.xml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'doc/manual/release-notes.xml') diff --git a/doc/manual/release-notes.xml b/doc/manual/release-notes.xml index 098e2a4497d8..00c8042098fb 100644 --- a/doc/manual/release-notes.xml +++ b/doc/manual/release-notes.xml @@ -30,8 +30,12 @@ TODO: now using Berkeley DB 4.5. - Option in + TODO: option in nix-store --register-validity. + + + TODO: magic exportReferencesGraph + attribute. -- cgit 1.4.1