1
1
Fork 0
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:
John Ericson 2025-08-15 16:20:39 -04:00 committed by GitHub
commit 3b03872ebf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 45 additions and 38 deletions

View file

@ -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 == "")