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:
parent
6bd92d47e5
commit
e7b274f85a
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ struct DerivationBuilderParams
|
|||
/**
|
||||
* The derivation stored at drvPath.
|
||||
*/
|
||||
const Derivation & drv;
|
||||
const BasicDerivation & drv;
|
||||
|
||||
/**
|
||||
* The derivation options of `drv`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue