Merge pull request #5362 from Artturin/nixunpack
nix develop: add --unpack
This commit is contained in:
commit
624dfde3df
2 changed files with 7 additions and 0 deletions
|
@ -392,6 +392,12 @@ struct CmdDevelop : Common, MixEnvironment
|
|||
.handler = {&phase},
|
||||
});
|
||||
|
||||
addFlag({
|
||||
.longName = "unpack",
|
||||
.description = "Run the `unpack` phase.",
|
||||
.handler = {&phase, {"unpack"}},
|
||||
});
|
||||
|
||||
addFlag({
|
||||
.longName = "configure",
|
||||
.description = "Run the `configure` phase.",
|
||||
|
|
|
@ -29,6 +29,7 @@ R""(
|
|||
* Run a particular build phase directly:
|
||||
|
||||
```console
|
||||
# nix develop --unpack
|
||||
# nix develop --configure
|
||||
# nix develop --build
|
||||
# nix develop --check
|
||||
|
|
Loading…
Reference in a new issue