knot-dns: make passthru.tests usable on non-Linux

This commit is contained in:
Vladimír Čunát
2021-12-20 17:17:55 +01:00
parent c83103e77c
commit b1c17320af
+2 -1
View File
@@ -54,8 +54,9 @@ stdenv.mkDerivation rec {
'';
passthru.tests = {
inherit (nixosTests) knot;
inherit knot-resolver;
} // lib.optionalAttrs stdenv.isLinux {
inherit (nixosTests) knot;
};
meta = with lib; {