nix develop: add --unpack

This commit is contained in:
Artturin 2021-10-09 01:19:50 +03:00
parent fd57e7074f
commit e399c6ab7f
2 changed files with 7 additions and 0 deletions

View file

@ -392,6 +392,12 @@ struct CmdDevelop : Common, MixEnvironment
.handler = {&phase}, .handler = {&phase},
}); });
addFlag({
.longName = "unpack",
.description = "Run the `unpack` phase.",
.handler = {&phase, {"unpack"}},
});
addFlag({ addFlag({
.longName = "configure", .longName = "configure",
.description = "Run the `configure` phase.", .description = "Run the `configure` phase.",

View file

@ -29,6 +29,7 @@ R""(
* Run a particular build phase directly: * Run a particular build phase directly:
```console ```console
# nix develop --unpack
# nix develop --configure # nix develop --configure
# nix develop --build # nix develop --build
# nix develop --check # nix develop --check