diff options
author | nicoo | 2024-08-19 19:13:20 +0000 |
---|---|---|
committer | nicoo | 2024-08-19 19:16:43 +0000 |
commit | 9e5d56e8c64e00f6c69070952fbf76aae5f0497a (patch) | |
tree | 33f2888c09ccf6b34b286e7d83728a3d8ea8bb82 /doc | |
parent | 2b8a6a7e43e007f1bd40c515c1ecb84238638b6d (diff) |
doc/build-helpers: forward-link `runCommand*` in `runCommandWith`
Diffstat (limited to 'doc')
-rw-r--r-- | doc/build-helpers/trivial-build-helpers.chapter.md | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/build-helpers/trivial-build-helpers.chapter.md b/doc/build-helpers/trivial-build-helpers.chapter.md index 6471395f78a0..8af68845202f 100644 --- a/doc/build-helpers/trivial-build-helpers.chapter.md +++ b/doc/build-helpers/trivial-build-helpers.chapter.md @@ -8,10 +8,14 @@ Like [`stdenv.mkDerivation`](#sec-using-stdenv), each of these build helpers cre The function `runCommandWith` returns a derivation built using the specified command(s), in a specified environment. -It is the underlying base function of all `runCommand*` variants. -The general behavior is controlled via a single attribute set passed +It is the underlying base function of all [`runCommand*` variants]. +The general behavior is controlled via a single attribute set passed as the first argument, and allows specifying `stdenv` freely. +The following [`runCommand*` variants] exist: `runCommand`, `runCommandCC`, and `runCommandLocal`. + +[`runCommand*` variants]: #trivial-builder-runCommand + ### Type {#trivial-builder-runCommandWith-Type} ``` |