about summary refs log tree commit diff
path: root/pkgs/development/libraries/getdns/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/getdns/default.nix')
-rw-r--r--pkgs/development/libraries/getdns/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/libraries/getdns/default.nix b/pkgs/development/libraries/getdns/default.nix
index 3691dc164077..00a15e831ae7 100644
--- a/pkgs/development/libraries/getdns/default.nix
+++ b/pkgs/development/libraries/getdns/default.nix
@@ -1,7 +1,7 @@
 # Getdns and Stubby are released together, see https://getdnsapi.net/releases/
 
 { lib, stdenv, fetchurl, cmake, darwin, doxygen, libidn2, libyaml, openssl
-, systemd, unbound, yq }:
+, systemd, unbound, yq, nimPackages }:
 let
   metaCommon = with lib; {
     maintainers = with maintainers; [ leenaars ehmry ];
@@ -38,6 +38,8 @@ in rec {
 
     postInstall = "rm -r $out/share/doc";
 
+    passthru.tests.nim = nimPackages.getdns;
+
     meta = with lib;
       metaCommon // {
         description = "A modern asynchronous DNS API";