mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 19:21:04 +00:00
Apply suggestions from code review
Co-authored-by: Daniel Sidhion <DanielSidhion@users.noreply.github.com>
This commit is contained in:
parent
1a3afdf852
commit
7f38a9ce11
|
@ -61,31 +61,31 @@ in
|
||||||
(lazyDerivation { inherit derivation }).passthru
|
(lazyDerivation { inherit derivation }).passthru
|
||||||
|
|
||||||
(lazyDerivation { inherit derivation }).pythonPath
|
(lazyDerivation { inherit derivation }).pythonPath
|
||||||
|
|
||||||
# Inputs
|
# Inputs
|
||||||
|
|
||||||
structured function argument
|
Takes an attribute set with the following attributes
|
||||||
|
|
||||||
: derivation
|
`derivation`
|
||||||
: The derivation to be wrapped.
|
: The derivation to be wrapped.
|
||||||
|
|
||||||
: meta
|
`meta`
|
||||||
: Optional meta attribute.
|
: Optional meta attribute.
|
||||||
|
|
||||||
While this function is primarily about derivations, it can improve
|
While this function is primarily about derivations, it can improve
|
||||||
the `meta` package attribute, which is usually specified through
|
the `meta` package attribute, which is usually specified through
|
||||||
`mkDerivation`.
|
`mkDerivation`.
|
||||||
|
|
||||||
: passthru
|
`passthru`
|
||||||
: Optional list of assumed outputs. Default: ["out"]
|
: Optional extra values to add to the returned attrset.
|
||||||
|
|
||||||
This must match the set of outputs that the returned derivation has.
|
This can be used for adding package attributes, such as `tests`.
|
||||||
You must use this when the derivation has multiple outputs.
|
|
||||||
|
|
||||||
: outputs
|
`outputs`
|
||||||
: Optional list of assumed outputs. Default: ["out"]
|
: Optional list of assumed outputs. Default: ["out"]
|
||||||
|
|
||||||
This must match the set of outputs that the returned derivation has.
|
This must match the set of outputs that the returned derivation has.
|
||||||
You must use this when the derivation has multiple outputs.
|
You must use this when the derivation has multiple outputs.
|
||||||
*/
|
*/
|
||||||
lazyDerivation =
|
lazyDerivation =
|
||||||
args@{
|
args@{
|
||||||
|
|
Loading…
Reference in a new issue