diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2021-10-13 11:39:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-13 11:39:08 +0200 |
commit | 624dfde3dfd3c4267d88c7b728cc6e816f8b7cf9 (patch) | |
tree | 850f90ee7292849a70df93cc27eaec2e050ee31d /src/nix | |
parent | 06fff5686cfe00603d3c256e20ff37f9ee350ec2 (diff) | |
parent | e399c6ab7fbe21e32683a1a4128ff655b276c9bf (diff) |
Merge pull request #5362 from Artturin/nixunpack
nix develop: add --unpack
Diffstat (limited to 'src/nix')
-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 |