aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/get-drvs.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libexpr/get-drvs.hh')
-rw-r--r--src/libexpr/get-drvs.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libexpr/get-drvs.hh b/src/libexpr/get-drvs.hh
index 3dac56a4f..920197d1f 100644
--- a/src/libexpr/get-drvs.hh
+++ b/src/libexpr/get-drvs.hh
@@ -26,6 +26,9 @@ public:
string attrPath; /* path towards the derivation */
string system;
+ /* !!! these should really be hidden, and setMetaInfo() should
+ make a copy since the ATermMap can be shared between multiple
+ DrvInfos. */
boost::shared_ptr<ATermMap> attrs;
string queryDrvPath(EvalState & state) const;
@@ -41,6 +44,8 @@ public:
{
outPath = s;
}
+
+ void setMetaInfo(const MetaInfo & meta);
};