diff options
| author | yarl-baudig@mailoo.org <yarl-baudig@mailoo.org> | 2022-05-17 23:08:54 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2022-05-18 22:29:55 +0200 |
| commit | 32916e04f7e1729b7ea5ab768607eb08183c015d (patch) | |
| tree | bd0ad93a58360b502f248b183643e3e4d442e247 /nix | |
| parent | 3948ac25b1dccc40c7fdf56377f94a0775a835ee (diff) | |
daemon: runChild() is forbidden to talk during environment set up
DerivationGoal::startBuilder() is waiting for an empty line as a check that
the environment set up is fine.
Fixes <https://issues.guix.gnu.org/55324>.
* nix/libstore/build.cc (DerivationGoal::runChild): Remove 'debug'
statement corresponding to bind mounts.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'nix')
| -rw-r--r-- | nix/libstore/build.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/nix/libstore/build.cc b/nix/libstore/build.cc index f6431bb7261..9305208009c 100644 --- a/nix/libstore/build.cc +++ b/nix/libstore/build.cc | |||
| @@ -2057,7 +2057,6 @@ void DerivationGoal::runChild() | |||
| 2057 | Path source = i->second; | 2057 | Path source = i->second; |
| 2058 | Path target = chrootRootDir + i->first; | 2058 | Path target = chrootRootDir + i->first; |
| 2059 | if (source == "/proc") continue; // backwards compatibility | 2059 | if (source == "/proc") continue; // backwards compatibility |
| 2060 | debug(format("bind mounting `%1%' to `%2%'") % source % target); | ||
| 2061 | if (stat(source.c_str(), &st) == -1) | 2060 | if (stat(source.c_str(), &st) == -1) |
| 2062 | throw SysError(format("getting attributes of path `%1%'") % source); | 2061 | throw SysError(format("getting attributes of path `%1%'") % source); |
| 2063 | if (S_ISDIR(st.st_mode)) | 2062 | if (S_ISDIR(st.st_mode)) |
