aboutsummaryrefslogtreecommitdiff
path: root/src/nix/flake.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-10-22 00:21:58 +0200
committerEelco Dolstra <edolstra@gmail.com>2019-10-22 00:22:15 +0200
commitce279209363cb6a9cbbe68a13fab9d8550b721f3 (patch)
tree24c0e0ffc3e949c198fd9886b334052589381a62 /src/nix/flake.cc
parent91a88f3acba8978d17ca40fd64e381514a51244d (diff)
Add start of 'nix profile' command
Diffstat (limited to 'src/nix/flake.cc')
-rw-r--r--src/nix/flake.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nix/flake.cc b/src/nix/flake.cc
index d928af3b9..6e7c5e2eb 100644
--- a/src/nix/flake.cc
+++ b/src/nix/flake.cc
@@ -653,6 +653,7 @@ struct CmdFlake : virtual MultiCommand, virtual Command
{
if (!command)
throw UsageError("'nix flake' requires a sub-command.");
+ command->prepare();
command->run();
}