diff options
author | Artturin <Artturin@artturin.com> | 2021-10-09 01:19:50 +0300 |
---|---|---|
committer | Artturin <Artturin@artturin.com> | 2021-10-09 01:19:50 +0300 |
commit | e399c6ab7fbe21e32683a1a4128ff655b276c9bf (patch) | |
tree | f1b30da62f98dc26fc1cb64ffcfb0008e5bcc0c7 /src | |
parent | fd57e7074f2f7189bce0b525073ea507857ca44e (diff) |
nix develop: add --unpack
Diffstat (limited to 'src')
-rw-r--r-- | src/nix/develop.cc | 6 | ||||
-rw-r--r-- | src/nix/develop.md | 1 |
2 files changed, 7 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"}}, diff --git a/src/nix/develop.md b/src/nix/develop.md index c86c4872b..1f214966a 100644 --- a/src/nix/develop.md +++ b/src/nix/develop.md @@ -29,6 +29,7 @@ R""( * Run a particular build phase directly: ```console + # nix develop --unpack # nix develop --configure # nix develop --build # nix develop --check |