mirror of
https://github.com/NixOS/nix.git
synced 2025-12-11 03:21:03 +01:00
Merge pull request #13766 from obsidiansystems/more-store-dir
Make a few more things use `StoreDirConfig` instead of `Store`
This commit is contained in:
commit
3b03872ebf
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;
|
||||
|
|
@ -744,7 +744,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