summary refs log tree commit diff
diff options
context:
space:
mode:
authorajs124 <git@ajs124.de>2023-02-15 14:11:52 +0100
committerajs124 <git@ajs124.de>2023-02-15 14:11:52 +0100
commit85b60c3849964ae43dc7a8819af1277097ae39f6 (patch)
tree34e773e0673e6d3ac867d16e0df51a12bbad5b33
parenta5ea08f7f44ea7d288dcfa4941ff9f02e417a93f (diff)
downloadnixpkgs-85b60c3849964ae43dc7a8819af1277097ae39f6.tar
nixpkgs-85b60c3849964ae43dc7a8819af1277097ae39f6.tar.gz
nixpkgs-85b60c3849964ae43dc7a8819af1277097ae39f6.tar.bz2
nixpkgs-85b60c3849964ae43dc7a8819af1277097ae39f6.tar.lz
nixpkgs-85b60c3849964ae43dc7a8819af1277097ae39f6.tar.xz
nixpkgs-85b60c3849964ae43dc7a8819af1277097ae39f6.tar.zst
nixpkgs-85b60c3849964ae43dc7a8819af1277097ae39f6.zip
openldap: add passthru.tests
-rw-r--r--pkgs/development/libraries/openldap/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/development/libraries/openldap/default.nix b/pkgs/development/libraries/openldap/default.nix
index 3f926447419..f853688af01 100644
--- a/pkgs/development/libraries/openldap/default.nix
+++ b/pkgs/development/libraries/openldap/default.nix
@@ -12,6 +12,9 @@
 , openssl
 , systemdMinimal
 , libxcrypt
+
+# passthru
+, nixosTests
 }:
 
 stdenv.mkDerivation rec {
@@ -117,6 +120,10 @@ stdenv.mkDerivation rec {
     chmod +x "$out"/lib/*.{so,dylib}
   '';
 
+  passthru.tests = {
+    inherit (nixosTests) openldap;
+  };
+
   meta = with lib; {
     homepage = "https://www.openldap.org/";
     description = "An open source implementation of the Lightweight Directory Access Protocol";