derivations: Add #:allowed-references 'derivation' parameter.
authorLudovic Courtès <ludo@gnu.org>
Sun, 1 Jun 2014 21:32:26 +0000 (23:32 +0200)
committerLudovic Courtès <ludo@gnu.org>
Sun, 1 Jun 2014 21:32:26 +0000 (23:32 +0200)
commitb53be755e465be04dc05e9069178874cb9f1f44d
treeac203c60539f00266d98edd3e3aff1c787dbe599
parent5a6a3ba43a1830c712e29d09e341e3cf14aea507
derivations: Add #:allowed-references 'derivation' parameter.

* guix/derivations.scm (derivation): Add #:allowed-references
  parameter.
  [user+system-env-vars]: Honor it.
* tests/derivations.scm ("derivation #:allowed-references, ok",
  "derivation #:allowed-references, not allowed",
  "derivation #:allowed-references, self allowed",
  "derivation #:allowed-references, self not allowed"): New tests.
* doc/guix.texi (Derivations): Document #:allowed-references.
doc/guix.texi
guix/derivations.scm
tests/derivations.scm