diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2022-10-27 13:33:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-27 13:33:51 +0200 |
commit | b7e8a3bf4cbb2448db860f65ea13ef2c64b6883b (patch) | |
tree | 6e54823534826cf3761a526a3e50c5cbef68cf0e /src/libstore | |
parent | 9323d139b0692e3ce140f89f8fe2a14e41610057 (diff) | |
parent | f8d01933838f719b2511a9a73a5fa710cdd59496 (diff) |
Merge pull request #7217 from NixOS/restore-nix-build-remote
Fix `nix __build-remote`
Diffstat (limited to 'src/libstore')
-rw-r--r-- | src/libstore/build/hook-instance.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/build/hook-instance.cc b/src/libstore/build/hook-instance.cc index 1f19ddccc..cb58a1f02 100644 --- a/src/libstore/build/hook-instance.cc +++ b/src/libstore/build/hook-instance.cc @@ -16,11 +16,11 @@ HookInstance::HookInstance() buildHookArgs.pop_front(); Strings args; + args.push_back(std::string(baseNameOf(buildHook))); for (auto & arg : buildHookArgs) args.push_back(arg); - args.push_back(std::string(baseNameOf(settings.buildHook.get()))); args.push_back(std::to_string(verbosity)); /* Create a pipe to get the output of the child. */ |