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 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;