diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-04-14 20:55:41 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-04-14 20:55:41 +0200 |
commit | 31a1a8ed3c3769eedbbe71fccbb9ae8a7cf448a1 (patch) | |
tree | 7e03e6e7581afb990008107ff6ea360f4e9077f2 /src/libexpr/get-drvs.hh | |
parent | 5169a6da98d43f9d32bccd95d69e1138902d5595 (diff) | |
parent | 03cbb9ad5979a6af808b77e5783d2ee193bebbb4 (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.hh | 3 |
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); |