about summary refs log tree commit diff
path: root/doc/build-helpers
diff options
context:
space:
mode:
authornicoo2024-08-08 15:43:47 +0000
committernicoo2024-08-08 15:43:47 +0000
commite0fc12cd1260c4196da1dc7189f70a6c56c43115 (patch)
treeece8b2cf833086869791cfcd6e6c723e26102ed0 /doc/build-helpers
parent244229a8b6f29264cdd2efbcb64f945980b47871 (diff)
doc: add type signature of `testers.runCommand`
Diffstat (limited to 'doc/build-helpers')
-rw-r--r--doc/build-helpers/testers.chapter.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/build-helpers/testers.chapter.md b/doc/build-helpers/testers.chapter.md
index 71822b82d774..5c1b704655cf 100644
--- a/doc/build-helpers/testers.chapter.md
+++ b/doc/build-helpers/testers.chapter.md
@@ -341,6 +341,8 @@ once to get a derivation hash, and again to produce the final fixed output deriv
 
 ## `runCommand` {#tester-runCommand}
 
+`runCommand :: { name, script, stdenv ? stdenvNoCC, hash ? "...", ... } -> Derivation`
+
 This is a wrapper around `pkgs.runCommandWith`, which
 - produces a fixed-output derivation, enabling the command(s) to access the network ;
 - salts the derivation's name based on its inputs, ensuring the command is re-run whenever the inputs changes.