mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 11:10:03 +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,27 +61,27 @@ in
|
|||
(lazyDerivation { inherit derivation }).passthru
|
||||
|
||||
(lazyDerivation { inherit derivation }).pythonPath
|
||||
|
||||
# Inputs
|
||||
|
||||
structured function argument
|
||||
Takes an attribute set with the following attributes
|
||||
|
||||
: derivation
|
||||
`derivation`
|
||||
: The derivation to be wrapped.
|
||||
|
||||
: meta
|
||||
`meta`
|
||||
: Optional meta attribute.
|
||||
|
||||
While this function is primarily about derivations, it can improve
|
||||
the `meta` package attribute, which is usually specified through
|
||||
`mkDerivation`.
|
||||
|
||||
: passthru
|
||||
: Optional list of assumed outputs. Default: ["out"]
|
||||
`passthru`
|
||||
: Optional extra values to add to the returned attrset.
|
||||
|
||||
This must match the set of outputs that the returned derivation has.
|
||||
You must use this when the derivation has multiple outputs.
|
||||
This can be used for adding package attributes, such as `tests`.
|
||||
|
||||
: outputs
|
||||
`outputs`
|
||||
: Optional list of assumed outputs. Default: ["out"]
|
||||
|
||||
This must match the set of outputs that the returned derivation has.
|
||||
|
|
Loading…
Reference in a new issue