summary refs log tree commit diff
path: root/doc/builders/trivial-builders.chapter.md
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2021-06-07 18:48:37 +0000
committerGitHub <noreply@github.com>2021-06-07 18:48:37 +0000
commit5b7fbb07b8827bcc279522fe5b8806ef59f433f3 (patch)
tree0b5722da489cdee4f48d9ca2e9843ff45248fea0 /doc/builders/trivial-builders.chapter.md
parentd3f2c41b267151a0ab819429d1ce7cfa7ff8a2fb (diff)
parent1593cddce5e125b2cf7d9043671e489f36e8ae4c (diff)
downloadnixpkgs-5b7fbb07b8827bcc279522fe5b8806ef59f433f3.tar
nixpkgs-5b7fbb07b8827bcc279522fe5b8806ef59f433f3.tar.gz
nixpkgs-5b7fbb07b8827bcc279522fe5b8806ef59f433f3.tar.bz2
nixpkgs-5b7fbb07b8827bcc279522fe5b8806ef59f433f3.tar.lz
nixpkgs-5b7fbb07b8827bcc279522fe5b8806ef59f433f3.tar.xz
nixpkgs-5b7fbb07b8827bcc279522fe5b8806ef59f433f3.tar.zst
nixpkgs-5b7fbb07b8827bcc279522fe5b8806ef59f433f3.zip
Merge staging-next into staging
Diffstat (limited to 'doc/builders/trivial-builders.chapter.md')
-rw-r--r--doc/builders/trivial-builders.chapter.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/builders/trivial-builders.chapter.md b/doc/builders/trivial-builders.chapter.md
index bc1317cc49c..46620e1b459 100644
--- a/doc/builders/trivial-builders.chapter.md
+++ b/doc/builders/trivial-builders.chapter.md
@@ -37,7 +37,7 @@ This works just like `runCommand`. The only difference is that it also provides
 
 Variant of `runCommand` that forces the derivation to be built locally, it is not substituted. This is intended for very cheap commands (<1s execution time). It saves on the network roundrip and can speed up a build.
 
-::: note
+::: {.note}
 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`.
 :::