0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 14:10:33 +03:00

[Backport release-24.11] doc/build-helpers/testers: Fix command renamed to script (#361898)

This commit is contained in:
Aleksana 2024-12-06 01:49:36 +08:00 committed by GitHub
commit 2c0bccb266
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
'';