mirror of
https://github.com/NixOS/nix.git
synced 2025-12-11 03:21:03 +01:00
Make a few more things use StoreDirConfig instead of Store
This commit is contained in:
parent
316fef35dc
commit
79fb9b0d3c
11 changed files with 45 additions and 38 deletions
|
|
@ -132,7 +132,7 @@ struct value_comparison
|
|||
}
|
||||
};
|
||||
|
||||
std::string showKnownOutputs(Store & store, const Derivation & drv)
|
||||
std::string showKnownOutputs(const StoreDirConfig & store, const Derivation & drv)
|
||||
{
|
||||
std::string msg;
|
||||
StorePathSet expectedOutputPaths;
|
||||
|
|
@ -743,7 +743,8 @@ Goal::Co DerivationBuildingGoal::tryToBuild()
|
|||
#endif
|
||||
}
|
||||
|
||||
void runPostBuildHook(Store & store, Logger & logger, const StorePath & drvPath, const StorePathSet & outputPaths)
|
||||
void runPostBuildHook(
|
||||
const StoreDirConfig & store, Logger & logger, const StorePath & drvPath, const StorePathSet & outputPaths)
|
||||
{
|
||||
auto hook = settings.postBuildHook;
|
||||
if (hook == "")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue