mirror of
https://github.com/NixOS/nix.git
synced 2025-11-30 06:01:00 +01:00
Give DerivationBuilder a LocalStore not Store
This is just more honest, since we downcasted it to `LocalStore` in many places. We had the downcast before because it wasn't needed in the hook case, just the local building case, but now that `DerivationBuilder` is separated and just does the building case, we have formalized the boundary where the single downcast should occur.
This commit is contained in:
parent
14e355d87d
commit
4bc9ae67c7
6 changed files with 24 additions and 34 deletions
|
|
@ -21,7 +21,7 @@ struct DarwinDerivationBuilder : DerivationBuilderImpl
|
|||
bool useSandbox;
|
||||
|
||||
DarwinDerivationBuilder(
|
||||
Store & store,
|
||||
LocalStore & store,
|
||||
std::unique_ptr<DerivationBuilderCallbacks> miscMethods,
|
||||
DerivationBuilderParams params,
|
||||
bool useSandbox)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue