1
0
Fork 0
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:
John Ericson 2025-04-18 12:24:24 -04:00
parent f683a555bf
commit 27907e6cac

View file

@ -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.