forked from lix-project/hydra
Merge pull request #909 from regnat/nix-master
Fix build with latest master
This commit is contained in:
commit
2020ea1335
|
@ -5,11 +5,11 @@
|
||||||
"nixpkgs": "nixpkgs"
|
"nixpkgs": "nixpkgs"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1615194819,
|
"lastModified": 1617795613,
|
||||||
"narHash": "sha256-LfPUsgeFRBzRgTp+828E7UhiVItSYH+CK6IJcjmlcZ4=",
|
"narHash": "sha256-dDDZcE3feC8we6azs99pWSz/uqYNPG3DJSNnjgJ6JsQ=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nix",
|
"repo": "nix",
|
||||||
"rev": "1c0e3e453d41b869e4ac7e25dc1c00c349a7c411",
|
"rev": "906adadacd2d1c98346a2f42c0b42a32d2806d94",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -36,7 +36,7 @@ static void openConnection(Machine::ptr machine, Path tmpDir, int stderrFD, Chil
|
||||||
|
|
||||||
child.pid = startProcess([&]() {
|
child.pid = startProcess([&]() {
|
||||||
|
|
||||||
restoreSignals();
|
restoreProcessContext();
|
||||||
|
|
||||||
if (dup2(to.readSide.get(), STDIN_FILENO) == -1)
|
if (dup2(to.readSide.get(), STDIN_FILENO) == -1)
|
||||||
throw SysError("cannot dup input pipe to stdin");
|
throw SysError("cannot dup input pipe to stdin");
|
||||||
|
|
Loading…
Reference in a new issue