aboutsummaryrefslogtreecommitdiff
path: root/src/nix/command.hh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-11-04 22:29:31 +0100
committerEelco Dolstra <edolstra@gmail.com>2019-11-04 22:29:31 +0100
commitb81d9d26f50784ab1884e2cc6bc470d5cba91bc9 (patch)
treebf1a03fff022f94271df102d045d6b33e677c2c6 /src/nix/command.hh
parente34b317bbf778efb4e9bee5d34fb2ceb7776de3f (diff)
parentf5a46ef0b1d76d32238f76ab8253f0d2d9fc72c9 (diff)
Merge remote-tracking branch 'origin/master' into flakes
Diffstat (limited to 'src/nix/command.hh')
-rw-r--r--src/nix/command.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nix/command.hh b/src/nix/command.hh
index ef29381cf..13f3a0dc9 100644
--- a/src/nix/command.hh
+++ b/src/nix/command.hh
@@ -17,7 +17,7 @@ namespace flake {
enum HandleLockFile : unsigned int;
}
-/* A command that require a Nix store. */
+/* A command that requires a Nix store. */
struct StoreCommand : virtual Command
{
StoreCommand();
@@ -91,6 +91,7 @@ private:
std::vector<std::string> _installables;
};
+/* A command that operates on exactly one "installable" */
struct InstallableCommand : virtual Args, SourceExprCommand
{
std::shared_ptr<Installable> installable;