about summary refs log tree commit diff
path: root/src/libexpr/get-drvs.hh
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2016-02-23T13·19+0100
committerVladimír Čunát <vcunat@gmail.com>2016-02-23T13·19+0100
commit03cbb9ad5979a6af808b77e5783d2ee193bebbb4 (patch)
treed72f0950619818d3436b01d472d74646971f19c7 /src/libexpr/get-drvs.hh
parent8f71bc33d5af7bc6d4728e5e36e89bcad27d2096 (diff)
nix-env: respect meta.outputsToInstall
Discussed on https://github.com/NixOS/nixpkgs/pull/12653#discussion_r51601849
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 365c66c8d710..37fcbe829d3c 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);