aboutsummaryrefslogtreecommitdiff
path: root/src/nix/command.hh
diff options
context:
space:
mode:
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 45ad1cd2a..fad404c73 100644
--- a/src/nix/command.hh
+++ b/src/nix/command.hh
@@ -34,7 +34,7 @@ struct Command : virtual Args
class Store;
-/* A command that require a Nix store. */
+/* A command that requires a Nix store. */
struct StoreCommand : virtual Command
{
StoreCommand();
@@ -115,6 +115,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;