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
35
nixos/tests/sympa.nix
Normal file
35
nixos/tests/sympa.nix
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
import ./make-test-python.nix ({ pkgs, lib, ... }: {
|
||||
name = "sympa";
|
||||
meta.maintainers = with lib.maintainers; [ mmilata ];
|
||||
|
||||
nodes.machine =
|
||||
{ ... }:
|
||||
{
|
||||
|
||||
services.sympa = {
|
||||
enable = true;
|
||||
domains = {
|
||||
"lists.example.org" = {
|
||||
webHost = "localhost";
|
||||
};
|
||||
};
|
||||
listMasters = [ "joe@example.org" ];
|
||||
web.enable = true;
|
||||
web.https = false;
|
||||
database = {
|
||||
type = "PostgreSQL";
|
||||
createLocally = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
testScript = ''
|
||||
start_all()
|
||||
|
||||
machine.wait_for_unit("sympa.service")
|
||||
machine.wait_for_unit("wwsympa.service")
|
||||
assert "Mailing lists service" in machine.succeed(
|
||||
"curl --fail --insecure -L http://localhost/"
|
||||
)
|
||||
'';
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue