mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 22:16:16 +02:00
nix run: Tweak docs
This commit is contained in:
parent
775bdc0d9e
commit
2567b74c66
1 changed files with 9 additions and 5 deletions
|
@ -43,11 +43,15 @@ program specified by the app definition.
|
||||||
|
|
||||||
If *installable* evaluates to a derivation, it will try to execute the
|
If *installable* evaluates to a derivation, it will try to execute the
|
||||||
program `<out>/bin/<name>`, where *out* is the primary output store
|
program `<out>/bin/<name>`, where *out* is the primary output store
|
||||||
path of the derivation and *name* is the `meta.mainProgram` attribute
|
path of the derivation, and *name* is the first of the following that
|
||||||
of the derivation if it exists, and otherwise the `pname` attribute of
|
exists:
|
||||||
the derivation or the name part of the value of the `name` attribute of
|
|
||||||
the derivation (e.g. if `name` is set to `hello-1.10`, it will run
|
* The `meta.mainProgram` attribute of the derivation.
|
||||||
`$out/bin/hello`).
|
* The `pname` attribute of the derivation.
|
||||||
|
* The name part of the value of the `name` attribute of the derivation.
|
||||||
|
|
||||||
|
For instance, if `name` is set to `hello-1.10`, `nix run` will run
|
||||||
|
`$out/bin/hello`.
|
||||||
|
|
||||||
# Flake output attributes
|
# Flake output attributes
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue