about summary refs log tree commit diff
path: root/src/libexpr/get-drvs.hh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2010-04-19T12·10+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2010-04-19T12·10+0000
commit55b5ddd3ca1ff4dfe4cfbfab92a4025d88ef6443 (patch)
treed9377895a711709f73ceabb10b511b91b0d3b4e5 /src/libexpr/get-drvs.hh
parentb7ff69eb7c3f97c33ec18c51ab87b7f3dd967052 (diff)
* Added parsing of manifests in ATerm format.
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 f7d1987ea3..6f3c381f8e 100644
--- a/src/libexpr/get-drvs.hh
+++ b/src/libexpr/get-drvs.hh
@@ -29,6 +29,9 @@ struct DrvInfo
 private:
     string drvPath;
     string outPath;
+
+    bool metaInfoRead;
+    MetaInfo meta;
     
 public:
     string name;
@@ -38,6 +41,8 @@ public:
     /* !!! make this private */
     Bindings * attrs;
 
+    DrvInfo() : metaInfoRead(false) { };
+
     string queryDrvPath(EvalState & state) const;
     string queryOutPath(EvalState & state) const;
     MetaInfo queryMetaInfo(EvalState & state) const;