1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-15 23:12:44 +01:00

Merge pull request #10412 from roberth/c-string-context

C API: Add `nix_string_realise`
This commit is contained in:
John Ericson 2024-04-11 12:07:31 -04:00 committed by GitHub
commit 5b9cb8b372
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 351 additions and 40 deletions

View file

@ -1138,7 +1138,7 @@ void DerivationGoal::resolvedFinished()
HookReply DerivationGoal::tryBuildHook()
{
if (!worker.tryBuildHook || !useDerivation) return rpDecline;
if (settings.buildHook.get().empty() || !worker.tryBuildHook || !useDerivation) return rpDecline;
if (!worker.hook)
worker.hook = std::make_unique<HookInstance>();