aboutsummaryrefslogtreecommitdiff
path: root/src/nix/develop.cc
diff options
context:
space:
mode:
authorArtturin <Artturin@artturin.com>2021-10-09 01:19:50 +0300
committerArtturin <Artturin@artturin.com>2021-10-09 01:19:50 +0300
commite399c6ab7fbe21e32683a1a4128ff655b276c9bf (patch)
treef1b30da62f98dc26fc1cb64ffcfb0008e5bcc0c7 /src/nix/develop.cc
parentfd57e7074f2f7189bce0b525073ea507857ca44e (diff)
nix develop: add --unpack
Diffstat (limited to 'src/nix/develop.cc')
-rw-r--r--src/nix/develop.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nix/develop.cc b/src/nix/develop.cc
index c20b9f272..f22335023 100644
--- a/src/nix/develop.cc
+++ b/src/nix/develop.cc
@@ -393,6 +393,12 @@ struct CmdDevelop : Common, MixEnvironment
});
addFlag({
+ .longName = "unpack",
+ .description = "Run the `unpack` phase.",
+ .handler = {&phase, {"unpack"}},
+ });
+
+ addFlag({
.longName = "configure",
.description = "Run the `configure` phase.",
.handler = {&phase, {"configure"}},