doc/build-helpers/testers: Fix command renamed to script (#352713)

This commit is contained in:
Gavin John 2024-12-04 14:53:21 -08:00 committed by GitHub
parent 685845f024
commit 67a56f27f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -364,7 +364,7 @@ including `nativeBuildInputs` to specify dependencies available to the `script`.
```nix
testers.runCommand {
name = "access-the-internet";
command = ''
script = ''
curl -o /dev/null https://example.com
touch $out
'';