uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
15
nixos/tests/pdns-recursor.nix
Normal file
15
nixos/tests/pdns-recursor.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
import ./make-test-python.nix ({ pkgs, ... }: {
|
||||
name = "powerdns-recursor";
|
||||
|
||||
nodes.server = { ... }: {
|
||||
services.pdns-recursor.enable = true;
|
||||
services.pdns-recursor.exportHosts= true;
|
||||
networking.hosts."192.0.2.1" = [ "example.com" ];
|
||||
};
|
||||
|
||||
testScript = ''
|
||||
server.wait_for_unit("pdns-recursor")
|
||||
server.wait_for_open_port("53")
|
||||
assert "192.0.2.1" in server.succeed("host example.com localhost")
|
||||
'';
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue