tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
aardvark-dns: fix test instead of skipping it
Vladimír Čunát
2 years ago
3bcd7865
63ba1040
+6
-3
1 changed file
expand all
collapse all
unified
split
pkgs
tools
networking
aardvark-dns
default.nix
+6
-3
pkgs/tools/networking/aardvark-dns/default.nix
···
1
1
{ lib
2
2
, rustPlatform
3
3
, fetchFromGitHub
4
4
+
, fetchpatch
4
5
, nixosTests
5
6
}:
6
7
···
17
18
18
19
cargoHash = "sha256-rrn+ZTAsFs7UTP4xQL3Cy8G6RG7vwT0wMKnXHHIkB90=";
19
20
20
20
-
checkFlags = [
21
21
-
# https://github.com/containers/aardvark-dns/issues/379
22
22
-
"--skip=test::test::tests::test_backend_network_scoped_custom_dns_server"
21
21
+
patches = [
22
22
+
(fetchpatch { # https://github.com/containers/aardvark-dns/issues/379
23
23
+
url = "https://github.com/containers/aardvark-dns/commit/b13f0434f410934b515f086334414c6f5f55096e.diff";
24
24
+
hash = "sha256-6XReIShEe8+WKc5jK5NzCNMEd4INdOn9Sf8UrQLbj+s=";
25
25
+
})
23
26
];
24
27
25
28
passthru.tests = { inherit (nixosTests) podman; };