mirror of
https://github.com/NixOS/nix
synced 2025-07-06 21:41:48 +02:00
Add documentation for DerivationBuilder::{parsedDrv, drvOptions}
This commit is contained in:
parent
f683a555bf
commit
27907e6cac
1 changed files with 13 additions and 0 deletions
|
@ -30,7 +30,20 @@ struct DerivationBuilderParams
|
|||
*/
|
||||
const std::unique_ptr<Derivation> & drv;
|
||||
|
||||
/**
|
||||
* The "structured attrs" of `drv`, if it has them.
|
||||
*
|
||||
* @todo this should be part of `Derivation`.
|
||||
*
|
||||
* @todo this should be renamed from `parsedDrv`.
|
||||
*/
|
||||
const std::unique_ptr<StructuredAttrs> & parsedDrv;
|
||||
|
||||
/**
|
||||
* The derivation options of `drv`.
|
||||
*
|
||||
* @todo this should be part of `Derivation`.
|
||||
*/
|
||||
const std::unique_ptr<DerivationOptions> & drvOptions;
|
||||
|
||||
// The remainder is state held during the build.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue