aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/build/local-derivation-goal.hh
diff options
context:
space:
mode:
authoreldritch horrors <pennae@lix.systems>2024-08-11 21:53:29 +0200
committereldritch horrors <pennae@lix.systems>2024-08-18 22:04:06 +0000
commite2d330aeed19a1bfed56ea55277ac9400fbc7fed (patch)
tree8089cbe286d252bfc441695655bd8f21a206aceb /src/libstore/build/local-derivation-goal.hh
parent007211e7a27a512cb343060e8b363c9f66ef67af (diff)
libstore: remove DerivationGoal::isReadDesc
all derivation goals need a log fd of some description. let's save this single fd in a dedicated pointer field for all subclasses so that later we have just the one spot to change if we turn this into async promises Change-Id: If223adf90909247363fb823d751cae34d25d0c0b
Diffstat (limited to 'src/libstore/build/local-derivation-goal.hh')
-rw-r--r--src/libstore/build/local-derivation-goal.hh4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libstore/build/local-derivation-goal.hh b/src/libstore/build/local-derivation-goal.hh
index 7617760a5..128e6fd36 100644
--- a/src/libstore/build/local-derivation-goal.hh
+++ b/src/libstore/build/local-derivation-goal.hh
@@ -40,7 +40,7 @@ struct LocalDerivationGoal : public DerivationGoal
* Master side of the pseudoterminal used for the builder's
* standard output/error.
*/
- AutoCloseFD builderOut;
+ AutoCloseFD builderOutPTY;
/**
* Pipe for synchronising updates to the builder namespaces.
@@ -285,8 +285,6 @@ struct LocalDerivationGoal : public DerivationGoal
void cleanupPostOutputsRegisteredModeCheck() override;
void cleanupPostOutputsRegisteredModeNonCheck() override;
- bool isReadDesc(int fd) override;
-
/**
* Delete the temporary directory, if we have one.
*/