diff options
| author | Felix Stupp <felix.stupp@banananet.work> | 2024-08-31 14:18:42 +0000 |
|---|---|---|
| committer | Felix Stupp <felix.stupp@banananet.work> | 2024-08-31 14:40:14 +0000 |
| commit | 61fd315b420f8bb87bb1c867d556227b2fd46e17 (patch) | |
| tree | 98553bc2b63b85009b70c1cb3d86b8bfbbccfb6e /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | d5cbc4d878507267403b13308e7aad6445f0e772 (diff) | |
nixos/manual: add hint to interactive testing about Internet access
verified with following minimal test, embedded in a flake for ease of
execution:
```nix
{
inputs.nixpkgs.url = "github:NixOS/nixpkgs/master";
outputs = { nixpkgs, ... }:
let
pkgs = import nixpkgs { system = "x86_64-linux"; };
in
{
nixosTests.x86_64-linux.internet = pkgs.nixosTest {
name = "internet";
nodes.machine = { };
# only succeeds in interactive mode
testScript = ''
machine.wait_for_unit("default.target")
print(machine.succeed("curl -4 https://nixos.org"))
'';
};
};
}
```
Launch this test interactively as described in the manual & run
`test_script()` to verify that the VM has Internet access.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
