Unverified Commit 3bcd7865 authored by Vladimír Čunát's avatar Vladimír Čunát
Browse files

aardvark-dns: fix test instead of skipping it

parent 63ba1040
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
{ lib
, rustPlatform
, fetchFromGitHub
, fetchpatch
, nixosTests
}:

@@ -17,9 +18,11 @@ rustPlatform.buildRustPackage rec {

  cargoHash = "sha256-rrn+ZTAsFs7UTP4xQL3Cy8G6RG7vwT0wMKnXHHIkB90=";

  checkFlags = [
    # https://github.com/containers/aardvark-dns/issues/379
    "--skip=test::test::tests::test_backend_network_scoped_custom_dns_server"
  patches = [
    (fetchpatch { # https://github.com/containers/aardvark-dns/issues/379
      url = "https://github.com/containers/aardvark-dns/commit/b13f0434f410934b515f086334414c6f5f55096e.diff";
      hash = "sha256-6XReIShEe8+WKc5jK5NzCNMEd4INdOn9Sf8UrQLbj+s=";
    })
  ];

  passthru.tests = { inherit (nixosTests) podman; };