derivations: Remove unused 'derivation' parameter.
* guix/derivations.scm (derivation): Remove unused #:hash-mode parameter. * doc/guix.texi (Derivations): Adjust accordingly.
This commit is contained in:
parent
93cc13aabb
commit
2096ef47aa
|
@ -1486,13 +1486,13 @@ a derivation is the @code{derivation} procedure:
|
||||||
|
|
||||||
@deffn {Scheme Procedure} derivation @var{store} @var{name} @var{builder} @
|
@deffn {Scheme Procedure} derivation @var{store} @var{name} @var{builder} @
|
||||||
@var{args} [#:outputs '("out")] [#:hash #f] [#:hash-algo #f] @
|
@var{args} [#:outputs '("out")] [#:hash #f] [#:hash-algo #f] @
|
||||||
[#:recursive? #f] [#:hash-mode #f] [#:inputs '()] [#:env-vars '()] @
|
[#:recursive? #f] [#:inputs '()] [#:env-vars '()] @
|
||||||
[#:system (%current-system)] [#:references-graphs #f] @
|
[#:system (%current-system)] [#:references-graphs #f] @
|
||||||
[#:local-build? #f]
|
[#:local-build? #f]
|
||||||
Build a derivation with the given arguments, and return the resulting
|
Build a derivation with the given arguments, and return the resulting
|
||||||
@code{<derivation>} object.
|
@code{<derivation>} object.
|
||||||
|
|
||||||
When @var{hash}, @var{hash-algo}, and @var{hash-mode} are given, a
|
When @var{hash} and @var{hash-algo} are given, a
|
||||||
@dfn{fixed-output derivation} is created---i.e., one whose result is
|
@dfn{fixed-output derivation} is created---i.e., one whose result is
|
||||||
known in advance, such as a file download. If, in addition,
|
known in advance, such as a file download. If, in addition,
|
||||||
@var{recursive?} is true, then that fixed output may be an executable
|
@var{recursive?} is true, then that fixed output may be an executable
|
||||||
|
|
|
@ -558,11 +558,11 @@ HASH-ALGO, of the derivation NAME. RECURSIVE? has the same meaning as for
|
||||||
#:key
|
#:key
|
||||||
(system (%current-system)) (env-vars '())
|
(system (%current-system)) (env-vars '())
|
||||||
(inputs '()) (outputs '("out"))
|
(inputs '()) (outputs '("out"))
|
||||||
hash hash-algo hash-mode recursive?
|
hash hash-algo recursive?
|
||||||
references-graphs
|
references-graphs
|
||||||
local-build?)
|
local-build?)
|
||||||
"Build a derivation with the given arguments, and return the resulting
|
"Build a derivation with the given arguments, and return the resulting
|
||||||
<derivation> object. When HASH, HASH-ALGO, and HASH-MODE are given, a
|
<derivation> object. When HASH and HASH-ALGO are given, a
|
||||||
fixed-output derivation is created---i.e., one whose result is known in
|
fixed-output derivation is created---i.e., one whose result is known in
|
||||||
advance, such as a file download. If, in addition, RECURSIVE? is true, then
|
advance, such as a file download. If, in addition, RECURSIVE? is true, then
|
||||||
that fixed output may be an executable file or a directory and HASH must be
|
that fixed output may be an executable file or a directory and HASH must be
|
||||||
|
|
Loading…
Reference in New Issue