1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-08 11:36:03 +01:00

DerivationBuilderParams have reference to BasicDerivation

Have one to that instead of one to `Derivation`. `DerivationBuilder`
doesn't need `inputDrvs`, so `BasicDerivation` suffices.

(In fact, it doesn't need `inputSrcs` either, but we don't yet hve a
type to exclude that.)
This commit is contained in:
John Ericson 2025-11-05 23:38:45 -05:00
parent 6bd92d47e5
commit e7b274f85a

View file

@ -62,7 +62,7 @@ struct DerivationBuilderParams
/**
* The derivation stored at drvPath.
*/
const Derivation & drv;
const BasicDerivation & drv;
/**
* The derivation options of `drv`.