diff options
author | Ludovic Courtès <ludo@gnu.org> | 2016-03-20 22:44:03 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-03-20 22:46:14 +0100 |
commit | 3f4ecf32291779d9f75493a5e75cdbea2bc51adb (patch) | |
tree | 7e7fee0ef0bb0058f99c37de39a5838b30542530 /doc/guix.texi | |
parent | 35b5ca7869396b8d37539b9279147c100eee12f1 (diff) | |
download | guix-3f4ecf32291779d9f75493a5e75cdbea2bc51adb.tar guix-3f4ecf32291779d9f75493a5e75cdbea2bc51adb.tar.gz |
gexp: Add #:disallowed-references.
* guix/gexp.scm (gexp->derivation): Add #:disallowed-references and
honor it.
* tests/gexp.scm ("gexp->derivation #:disallowed-references, allowed")
("gexp->derivation #:disallowed-references"): New tests.
* doc/guix.texi (G-Expressions): Adjust accordingly.
Diffstat (limited to 'doc/guix.texi')
-rw-r--r-- | doc/guix.texi | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index 075839eadf..913545f1a7 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -3670,6 +3670,7 @@ information about monads.) [#:recursive? #f] [#:env-vars '()] [#:modules '()] @ [#:module-path @var{%load-path}] @ [#:references-graphs #f] [#:allowed-references #f] @ + [#:disallowed-references #f] @ [#:leaked-env-vars #f] @ [#:script-name (string-append @var{name} "-builder")] @ [#:local-build? #f] [#:substitutable? #t] [#:guile-for-build #f] @@ -3707,6 +3708,8 @@ text format. @var{allowed-references} must be either @code{#f} or a list of output names and packages. In the latter case, the list denotes store items that the result is allowed to refer to. Any reference to another store item will lead to a build error. +Similarly for @var{disallowed-references}, which can list items that must not be +referenced by the outputs. The other arguments are as for @code{derivation} (@pxref{Derivations}). @end deffn |