From 9eddf6f0b68e1ac69d56de3c5c0899481ad2c6cf Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 28 Aug 2014 18:26:01 +0200 Subject: allowedRequisites: Drop stdenv mention I don't think it's a good idea to use allowedRequisites for stdenv, so don't mention it here. --- doc/manual/release-notes.xml | 6 ++---- doc/manual/writing-nix-expressions.xml | 5 +---- 2 files changed, 3 insertions(+), 8 deletions(-) (limited to 'doc') diff --git a/doc/manual/release-notes.xml b/doc/manual/release-notes.xml index 36e345ecf273..f64b6cb1749b 100644 --- a/doc/manual/release-notes.xml +++ b/doc/manual/release-notes.xml @@ -18,10 +18,8 @@ allowedReferences. But instead of only enforcing to explicitly specify the immediate references, it requires the derivation to specify all the dependencies recursively (hence the - name, requisites) that are used by the resulting output. This is - used in NixOS when rebuilding the stdenv on Linux to ensure that the - resulting stdenv doesn't have any surprising dependency, e.g. on - bootstrapTools. + name, requisites) that are used by the resulting + output. diff --git a/doc/manual/writing-nix-expressions.xml b/doc/manual/writing-nix-expressions.xml index d51f80771ba1..c4f069893371 100644 --- a/doc/manual/writing-nix-expressions.xml +++ b/doc/manual/writing-nix-expressions.xml @@ -1583,10 +1583,7 @@ allowedReferences = [ foobar ]; enforces that the output of a derivation cannot have any other runtime dependency than foobar, and in addition it enforces that foobar itself doesn't - introduce any other dependency itself. This is used in NixOS when - rebuilding the stdenv on Linux to ensure that the resulting stdenv - doesn't have any surprising dependency, e.g. on - bootstrapTools. + introduce any other dependency itself. -- cgit 1.4.1