1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-26 20:01:15 +02:00

Fix macOS build

This commit is contained in:
Eelco Dolstra 2021-09-14 08:19:41 +02:00
parent 1ba993d07c
commit 76e368a3b4
4 changed files with 4 additions and 4 deletions

View file

@ -413,7 +413,7 @@ struct GitInputScheme : InputScheme
AutoDelete delTmpDir(tmpDir, true);
PathFilter filter = defaultPathFilter;
auto result = runProgram({
auto result = runProgram(RunOptions {
.program = "git",
.args = { "-C", repoDir, "cat-file", "commit", input.getRev()->gitRev() },
.mergeStderrToStdout = true