mirror of
https://github.com/NixOS/nix
synced 2025-06-25 06:31:14 +02:00
Merge pull request #12442 from NixOS/store-derivation-options
Expand manual on derivation outputs
This commit is contained in:
commit
efbd4c1ebb
14 changed files with 552 additions and 190 deletions
|
@ -1595,7 +1595,7 @@ static RegisterPrimOp primop_placeholder({
|
|||
.args = {"output"},
|
||||
.doc = R"(
|
||||
Return at
|
||||
[output placeholder string](@docroot@/store/drv.md#output-placeholder)
|
||||
[output placeholder string](@docroot@/store/derivation/index.md#output-placeholder)
|
||||
for the specified *output* that will be substituted by the corresponding
|
||||
[output path](@docroot@/glossary.md#gloss-output-path)
|
||||
at build time.
|
||||
|
@ -2139,7 +2139,7 @@ static RegisterPrimOp primop_outputOf({
|
|||
.args = {"derivation-reference", "output-name"},
|
||||
.doc = R"(
|
||||
Return the output path of a derivation, literally or using an
|
||||
[input placeholder string](@docroot@/store/drv.md#input-placeholder)
|
||||
[input placeholder string](@docroot@/store/derivation/index.md#input-placeholder)
|
||||
if needed.
|
||||
|
||||
If the derivation has a statically-known output path (i.e. the derivation output is input-addressed, or fixed content-addresed), the output path will just be returned.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue