about summary refs log tree commit diff
path: root/src/libexpr/get-drvs.hh
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-11-26T16·39+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-11-26T16·41+0100
commit408a7bfac1f4282ff6647696dfbc7988eed3a2ca (patch)
treeaf5c0c212e1a718240d855ef22930b7c1503d0cd /src/libexpr/get-drvs.hh
parent8d8d47abd2a66898aa5d8999fcd75b29991e529d (diff)
nix-instantiate: Fix read-only evaluation
Diffstat (limited to 'src/libexpr/get-drvs.hh')
-rw-r--r--src/libexpr/get-drvs.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libexpr/get-drvs.hh b/src/libexpr/get-drvs.hh
index 8159417a0131..f84636a1ab3d 100644
--- a/src/libexpr/get-drvs.hh
+++ b/src/libexpr/get-drvs.hh
@@ -28,6 +28,7 @@ struct DrvInfo
 private:
     string drvPath;
     string outPath;
+    string outputName;
 
     bool metaInfoRead;
     MetaInfo meta;
@@ -46,6 +47,7 @@ public:
 
     string queryDrvPath(EvalState & state) const;
     string queryOutPath(EvalState & state) const;
+    string queryOutputName(EvalState & state) const;
     MetaInfo queryMetaInfo(EvalState & state) const;
     MetaValue queryMetaInfo(EvalState & state, const string & name) const;