diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2021-09-14 08:19:41 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2021-09-14 10:07:31 +0200 |
commit | 76e368a3b4b8d66b66c4a2a72016a2cc8a013a5c (patch) | |
tree | 60e64467d58d6a64ffeb9e5e13b63d7a73938484 /src/libutil/util.cc | |
parent | 1ba993d07c8e823c6051de207b9d1fe07aa16656 (diff) |
Fix macOS build
Diffstat (limited to 'src/libutil/util.cc')
-rw-r--r-- | src/libutil/util.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/util.cc b/src/libutil/util.cc index d2660a5d3..6c7f93d50 100644 --- a/src/libutil/util.cc +++ b/src/libutil/util.cc @@ -1037,7 +1037,7 @@ std::vector<char *> stringsToCharPtrs(const Strings & ss) string runProgram(Path program, bool searchPath, const Strings & args, const std::optional<std::string> & input) { - auto res = runProgram({.program = program, .searchPath = searchPath, .args = args, .input = input}); + auto res = runProgram(RunOptions {.program = program, .searchPath = searchPath, .args = args, .input = input}); if (!statusOk(res.first)) throw ExecError(res.first, fmt("program '%1%' %2%", program, statusToString(res.first))); |