aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/get-drvs.hh
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-04-14 20:55:41 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-04-14 20:55:41 +0200
commit31a1a8ed3c3769eedbbe71fccbb9ae8a7cf448a1 (patch)
tree7e03e6e7581afb990008107ff6ea360f4e9077f2 /src/libexpr/get-drvs.hh
parent5169a6da98d43f9d32bccd95d69e1138902d5595 (diff)
parent03cbb9ad5979a6af808b77e5783d2ee193bebbb4 (diff)
Merge pull request #815 from vcunat/p/outputsToInstall
nix-env: respect meta.outputsToInstall
Diffstat (limited to 'src/libexpr/get-drvs.hh')
-rw-r--r--src/libexpr/get-drvs.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libexpr/get-drvs.hh b/src/libexpr/get-drvs.hh
index 365c66c8d..37fcbe829 100644
--- a/src/libexpr/get-drvs.hh
+++ b/src/libexpr/get-drvs.hh
@@ -42,7 +42,8 @@ public:
string queryDrvPath();
string queryOutPath();
string queryOutputName();
- Outputs queryOutputs();
+ /** Return the list of outputs. The "outputs to install" are determined by `mesa.outputsToInstall`. */
+ Outputs queryOutputs(bool onlyOutputsToInstall = false);
StringSet queryMetaNames();
Value * queryMeta(const string & name);