about summary refs log tree commit diff
diff options
context:
space:
mode:
authorrnhmjoj <rnhmjoj@inventati.org>2023-07-28 15:55:15 +0200
committerrnhmjoj <rnhmjoj@inventati.org>2023-07-28 15:55:15 +0200
commit4cd4b1b166d7ac2e8135f70e9456fa9babd356f1 (patch)
tree77b915f40bedba50f4c1247ff76c2df94ac36789
parent0bd475c296ed8d6a27323249996745beb9755fc0 (diff)
dnscrypt-wrapper: link NixOS test
-rw-r--r--pkgs/tools/networking/dnscrypt-wrapper/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/tools/networking/dnscrypt-wrapper/default.nix b/pkgs/tools/networking/dnscrypt-wrapper/default.nix
index 1e414b0521cdb..944fd1b589770 100644
--- a/pkgs/tools/networking/dnscrypt-wrapper/default.nix
+++ b/pkgs/tools/networking/dnscrypt-wrapper/default.nix
@@ -1,4 +1,4 @@
-{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libsodium, libevent }:
+{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libsodium, libevent, nixosTests }:
 
 stdenv.mkDerivation rec {
   pname = "dnscrypt-wrapper";
@@ -19,6 +19,10 @@ stdenv.mkDerivation rec {
   nativeBuildInputs = [ pkg-config autoreconfHook ];
   buildInputs = [ libsodium libevent ];
 
+  passthru.tests = {
+    inherit (nixosTests) dnscrypt-wrapper;
+  };
+
   meta = with lib; {
     description = "A tool for adding dnscrypt support to any name resolver";
     homepage = "https://dnscrypt.info/";