[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
159/376: Document the "out" usage in allowedReferences
From: |
Ludovic Courtès |
Subject: |
159/376: Document the "out" usage in allowedReferences |
Date: |
Wed, 28 Jan 2015 22:04:43 +0000 |
civodul pushed a commit to tag 1.8
in repository guix.
commit 4b0a720ddf05ba03c7ea94dc38bd5ec0ab1285dd
Author: Gergely Risko <address@hidden>
Date: Thu Aug 21 23:46:28 2014 +0200
Document the "out" usage in allowedReferences
---
doc/manual/writing-nix-expressions.xml | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/doc/manual/writing-nix-expressions.xml
b/doc/manual/writing-nix-expressions.xml
index 6db2adc..0470625 100644
--- a/doc/manual/writing-nix-expressions.xml
+++ b/doc/manual/writing-nix-expressions.xml
@@ -1561,10 +1561,11 @@ allowedReferences = [];
</programlisting>
enforces that the output of a derivation cannot have any runtime
- dependencies on its inputs. This is used in NixOS to check that
- generated files such as initial ramdisks for booting Linux don’t
- have accidental dependencies on other paths in the Nix
- store.</para></listitem>
+ dependencies on its inputs. To allow an output to have a runtime
+ dependency on itself, use <literal>"out"</literal> as a list item.
+ This is used in NixOS to check that generated files such as
+ initial ramdisks for booting Linux don’t have accidental
+ dependencies on other paths in the Nix store.</para></listitem>
</varlistentry>
- 147/376: Handle header file instantiation, (continued)
- 147/376: Handle header file instantiation, Ludovic Courtès, 2015/01/28
- 152/376: Flush std::cout before closing stdout, Ludovic Courtès, 2015/01/28
- 146/376: Install config.h only once, Ludovic Courtès, 2015/01/28
- 148/376: Force template regeneration, Ludovic Courtès, 2015/01/28
- 158/376: fix disappearing bash arguments, Ludovic Courtès, 2015/01/28
- 150/376: Provide reasonable default flags for $LESS, Ludovic Courtès, 2015/01/28
- 149/376: Merge commit '2aa93858afee22e0c32d8f4366970976374091ac', Ludovic Courtès, 2015/01/28
- 156/376: Use PR_SET_PDEATHSIG to ensure child cleanup, Ludovic Courtès, 2015/01/28
- 155/376: Set a curl timeout on binary cache lookups, Ludovic Courtès, 2015/01/28
- 163/376: Fix manual build, Ludovic Courtès, 2015/01/28
- 159/376: Document the "out" usage in allowedReferences,
Ludovic Courtès <=
- 154/376: Use unshare() instead of clone(), Ludovic Courtès, 2015/01/28
- 162/376: Introduce allowedRequisites feature, Ludovic Courtès, 2015/01/28
- 157/376: Fix tests, Ludovic Courtès, 2015/01/28
- 151/376: Use pager for more commands, Ludovic Courtès, 2015/01/28
- 153/376: Fix a segfault in ‘nix-env -qa’, Ludovic Courtès, 2015/01/28
- 164/376: allowedRequisites: Drop stdenv mention, Ludovic Courtès, 2015/01/28
- 160/376: Fix building with Clang, Ludovic Courtès, 2015/01/28
- 170/376: Fix dependency ordering, Ludovic Courtès, 2015/01/28
- 169/376: Hack for supporting Boost on Homebrew, Ludovic Courtès, 2015/01/28
- 166/376: Shut up "Wide character" warnings in Perl scripts, Ludovic Courtès, 2015/01/28