···77 (hasAttr dev cfg.macvlans) ||
78 (hasAttr dev cfg.sits) ||
79 (hasAttr dev cfg.vlans) ||
080 (hasAttr dev cfg.vswitches)
81 then [ "${dev}-netdev.service" ]
82 else optional (!config.boot.isContainer) (subsystemDevice dev);
···94 networkSetup = lib.mkIf needNetworkSetup
95 { description = "Networking Setup";
9697- after = [ "network-pre.target" "systemd-udevd.service" "systemd-sysctl.service" ];
98 before = [ "network.target" "shutdown.target" ];
99 wants = [ "network.target" ];
100 # exclude bridges from the partOf relationship to fix container networking bug #47210
···77 (hasAttr dev cfg.macvlans) ||
78 (hasAttr dev cfg.sits) ||
79 (hasAttr dev cfg.vlans) ||
80+ (hasAttr dev cfg.greTunnels) ||
81 (hasAttr dev cfg.vswitches)
82 then [ "${dev}-netdev.service" ]
83 else optional (!config.boot.isContainer) (subsystemDevice dev);
···95 networkSetup = lib.mkIf needNetworkSetup
96 { description = "Networking Setup";
9798+ after = [ "network-pre.target" ];
99 before = [ "network.target" "shutdown.target" ];
100 wants = [ "network.target" ];
101 # exclude bridges from the partOf relationship to fix container networking bug #47210
+2-1
nixos/tests/dnsdist.nix
···92 almost_expiration = server.succeed("date --date '14min'").strip()
9394 with subtest("The DNSCrypt client can connect to the server"):
95- client.wait_until_succeeds("journalctl -u dnscrypt-proxy2 --grep '\[server\] OK'")
9697 with subtest("DNS queries over UDP are working"):
98 client.wait_for_open_port(53)
099 client.succeed("host -U 192.168.0.1 | grep -qF ns.example.org")
100101 with subtest("DNS queries over TCP are working"):
···92 almost_expiration = server.succeed("date --date '14min'").strip()
9394 with subtest("The DNSCrypt client can connect to the server"):
95+ client.wait_until_succeeds("journalctl -u dnscrypt-proxy2 --grep '\\[server\\] OK'")
9697 with subtest("DNS queries over UDP are working"):
98 client.wait_for_open_port(53)
99+ client.wait_until_succeeds("host -U 192.168.0.1", timeout=60)
100 client.succeed("host -U 192.168.0.1 | grep -qF ns.example.org")
101102 with subtest("DNS queries over TCP are working"):
+1-1
nixos/tests/redlib.nix
···3 {
4 name = "redlib";
5 meta.maintainers = with lib.maintainers; [
6- soispha
7 Guanran928
8 ];
9
···3 {
4 name = "redlib";
5 meta.maintainers = with lib.maintainers; [
6+ bpeetz
7 Guanran928
8 ];
9
···13}:
1415mkDerivation rec {
16- version = "2.4.2.1";
17 pname = "lyx";
1819 src = fetchurl {
20 url = "ftp://ftp.lyx.org/pub/lyx/stable/2.4.x/${pname}-${version}.tar.xz";
21- hash = "sha256-HSscer45Hi+0kQneLI4Tp9/mBfJ99o9om/lH36/HpNk=";
22 };
2324 # LaTeX is used from $PATH, as people often want to have it with extra pkgs
···13}:
1415mkDerivation rec {
16+ version = "2.4.3";
17 pname = "lyx";
1819 src = fetchurl {
20 url = "ftp://ftp.lyx.org/pub/lyx/stable/2.4.x/${pname}-${version}.tar.xz";
21+ hash = "sha256-+mdh9ZilkVr1CkI90qYHBIvbxUCm1XI4X+Qi31ge6/Y=";
22 };
2324 # LaTeX is used from $PATH, as people often want to have it with extra pkgs