diff options
author | Robert Hensing <robert@roberthensing.nl> | 2024-01-15 09:02:45 +0100 |
---|---|---|
committer | Robert Hensing <robert@roberthensing.nl> | 2024-01-15 09:02:45 +0100 |
commit | 559d06bbb2c1db2a322c1508dccc241e1f95a56f (patch) | |
tree | 93f731f14fe39a2aa62ea39abfc7e99656c6da73 /doc/build-helpers | |
parent | b0f542304df44f97abe8c497dce917c53d7cd972 (diff) |
trivial-builders: Remove redundant docs - link instead
Diffstat (limited to 'doc/build-helpers')
-rw-r--r-- | doc/build-helpers/trivial-build-helpers.chapter.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/build-helpers/trivial-build-helpers.chapter.md b/doc/build-helpers/trivial-build-helpers.chapter.md index d21b311516d94..398fb60fc880d 100644 --- a/doc/build-helpers/trivial-build-helpers.chapter.md +++ b/doc/build-helpers/trivial-build-helpers.chapter.md @@ -58,7 +58,7 @@ Variant of `runCommand` that forces the derivation to be built locally, it is no This sets [`allowSubstitutes` to `false`](https://nixos.org/nix/manual/#adv-attr-allowSubstitutes), so only use `runCommandLocal` if you are certain the user will always have a builder for the `system` of the derivation. This should be true for most trivial use cases (e.g., just copying some files to a different location or adding symlinks) because there the `system` is usually the same as `builtins.currentSystem`. ::: -## `writeTextFile`, `writeText`, `writeTextDir`, `writeScript`, `writeScriptBin`, `writeShellScript`, `writeShellScriptBin` {#trivial-builder-textwriting} +## `writeTextFile`, `writeText`, `writeTextDir`, `writeScript`, `writeScriptBin`, `writeShellScript`, `writeShellScriptBin` {#trivial-builder-text-writing} Nixpkgs provides the following functions for producing derivations which write text into the Nix store: `writeTextFile`, `writeText`, `writeTextDir`, `writeScript`, `writeScriptBin`, `writeShellScript`, and `writeShellScriptBin`. |