mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
parent
75702914a7
commit
052ef614f6
2 changed files with 25 additions and 24 deletions
|
@ -1304,7 +1304,7 @@ in {
|
||||||
your_spotify = handleTest ./your_spotify.nix {};
|
your_spotify = handleTest ./your_spotify.nix {};
|
||||||
zammad = handleTest ./zammad.nix {};
|
zammad = handleTest ./zammad.nix {};
|
||||||
zenohd = handleTest ./zenohd.nix {};
|
zenohd = handleTest ./zenohd.nix {};
|
||||||
zeronet-conservancy = handleTest ./zeronet-conservancy.nix {};
|
zeronet-conservancy = runTest ./zeronet-conservancy.nix;
|
||||||
zfs = handleTest ./zfs.nix {};
|
zfs = handleTest ./zfs.nix {};
|
||||||
zigbee2mqtt_1 = runTest {
|
zigbee2mqtt_1 = runTest {
|
||||||
imports = [ ./zigbee2mqtt.nix ];
|
imports = [ ./zigbee2mqtt.nix ];
|
||||||
|
|
|
@ -1,16 +1,18 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
let
|
let
|
||||||
port = 43110;
|
port = 43110;
|
||||||
in
|
in
|
||||||
import ./make-test-python.nix (
|
|
||||||
{ pkgs, ... }:
|
|
||||||
{
|
{
|
||||||
name = "zeronet-conservancy";
|
name = "zeronet-conservancy";
|
||||||
meta = with pkgs.lib.maintainers; {
|
meta = with lib.maintainers; {
|
||||||
maintainers = [ fgaz ];
|
maintainers = [ fgaz ];
|
||||||
};
|
};
|
||||||
|
|
||||||
nodes.machine =
|
nodes.machine =
|
||||||
{ config, pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
services.zeronet = {
|
services.zeronet = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -27,4 +29,3 @@ import ./make-test-python.nix (
|
||||||
machine.succeed("curl --fail -H 'Accept: text/html, application/xml, */*' localhost:${toString port}/Stats")
|
machine.succeed("curl --fail -H 'Accept: text/html, application/xml, */*' localhost:${toString port}/Stats")
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
)
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue