forked from lix-project/lix
nix develop: add --unpack
This commit is contained in:
parent
fd57e7074f
commit
e399c6ab7f
|
@ -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.",
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue