@@ -256,30 +256,10 @@ class DerivationBuilderImpl : public DerivationBuilder, DerivationBuilderParams
256
256
257
257
public:
258
258
259
- /* *
260
- * Set up build environment / sandbox, acquiring resources (e.g.
261
- * locks as needed). After this is run, the builder should be
262
- * started.
263
- *
264
- * @returns true if successful, false if we could not acquire a build
265
- * user. In that case, the caller must wait and then try again.
266
- */
267
259
bool prepareBuild () override ;
268
260
269
- /* *
270
- * Start building a derivation.
271
- */
272
261
void startBuilder () override ;
273
262
274
- /* *
275
- * Tear down build environment after the builder exits (either on
276
- * its own or if it is killed).
277
- *
278
- * @returns The first case indicates failure during output
279
- * processing. A status code and exception are returned, providing
280
- * more information. The second case indicates success, and
281
- * realisations for each output of the derivation are returned.
282
- */
283
263
std::variant<std::pair<BuildResult::Status, Error>, SingleDrvOutputs> unprepareBuild () override ;
284
264
285
265
private:
@@ -311,10 +291,6 @@ class DerivationBuilderImpl : public DerivationBuilder, DerivationBuilderParams
311
291
312
292
public:
313
293
314
- /* *
315
- * Stop the in-process nix daemon thread.
316
- * @see startDaemon
317
- */
318
294
void stopDaemon () override ;
319
295
320
296
private:
@@ -346,15 +322,8 @@ class DerivationBuilderImpl : public DerivationBuilder, DerivationBuilderParams
346
322
347
323
public:
348
324
349
- /* *
350
- * Delete the temporary directory, if we have one.
351
- */
352
325
void deleteTmpDir (bool force) override ;
353
326
354
- /* *
355
- * Kill any processes running under the build user UID or in the
356
- * cgroup of the build.
357
- */
358
327
void killSandbox (bool getStats) override ;
359
328
360
329
private:
0 commit comments