mirror of
https://github.com/NixOS/nix
synced 2025-06-27 16:51:15 +02:00
diff hook: execute as the build user, and pass the temp dir
This commit is contained in:
parent
c78686e411
commit
6df61db060
5 changed files with 51 additions and 28 deletions
|
@ -265,6 +265,8 @@ string runProgram(Path program, bool searchPath = false,
|
|||
const Strings & args = Strings(),
|
||||
const std::optional<std::string> & input = {});
|
||||
|
||||
pid_t doFork(bool allowVfork, std::function<void()> fun);
|
||||
|
||||
struct RunOptions
|
||||
{
|
||||
Path program;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue