Merge pull request #5362 from Artturin/nixunpack

nix develop: add --unpack
This commit is contained in:
Eelco Dolstra 2021-10-13 11:39:08 +02:00 committed by GitHub
commit 624dfde3df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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