Skip to content

Commit e7b274f

Browse files
committed
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.)
1 parent 6bd92d4 commit e7b274f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstore/include/nix/store/build/derivation-builder.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ struct DerivationBuilderParams
6262
/**
6363
* The derivation stored at drvPath.
6464
*/
65-
const Derivation & drv;
65+
const BasicDerivation & drv;
6666

6767
/**
6868
* The derivation options of `drv`.

0 commit comments

Comments
 (0)