summary refs log tree commit diff
path: root/pkgs/servers/ldap
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2019-12-21 22:44:50 +0000
committerJörg Thalheim <joerg@thalheim.io>2019-12-21 22:56:08 +0000
commit725f85e271b934b57383abd7db81cc601b4b4c18 (patch)
treef797c6f1fa23062b2d49f75bdd044313d4c5c120 /pkgs/servers/ldap
parent475aecef6a829752dfa5dd5e6f2488da65f8af22 (diff)
downloadnixpkgs-725f85e271b934b57383abd7db81cc601b4b4c18.tar
nixpkgs-725f85e271b934b57383abd7db81cc601b4b4c18.tar.gz
nixpkgs-725f85e271b934b57383abd7db81cc601b4b4c18.tar.bz2
nixpkgs-725f85e271b934b57383abd7db81cc601b4b4c18.tar.lz
nixpkgs-725f85e271b934b57383abd7db81cc601b4b4c18.tar.xz
nixpkgs-725f85e271b934b57383abd7db81cc601b4b4c18.tar.zst
nixpkgs-725f85e271b934b57383abd7db81cc601b4b4c18.zip
net-snmp: rename from net_snmp
Diffstat (limited to 'pkgs/servers/ldap')
-rw-r--r--pkgs/servers/ldap/389/default.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/servers/ldap/389/default.nix b/pkgs/servers/ldap/389/default.nix
index e7bff373c3a..8de4c471e22 100644
--- a/pkgs/servers/ldap/389/default.nix
+++ b/pkgs/servers/ldap/389/default.nix
@@ -1,5 +1,5 @@
 { stdenv, fetchurl, fetchpatch, autoreconfHook, pkgconfig, doxygen, perl, pam, nspr, nss, openldap
-, db, cyrus_sasl, svrcore, icu, net_snmp, kerberos, pcre, perlPackages, libevent, openssl, python
+, db, cyrus_sasl, svrcore, icu, net-snmp, kerberos, pcre, perlPackages, libevent, openssl, python
 }:
 
 stdenv.mkDerivation rec {
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
   nativeBuildInputs = [ autoreconfHook pkgconfig doxygen ];
   buildInputs = [
     perl pam nspr nss openldap db cyrus_sasl svrcore icu
-    net_snmp kerberos pcre libevent openssl python
+    net-snmp kerberos pcre libevent openssl python
   ] ++ (with perlPackages; [ MozillaLdap NetAddrIP DBFile ]);
 
   patches = [
@@ -46,7 +46,9 @@ stdenv.mkDerivation rec {
     "--with-db-inc=${db.dev}/include"
     "--with-db-lib=${db.out}/lib"
     "--with-sasl=${cyrus_sasl.dev}"
-    "--with-netsnmp=${net_snmp}"
+    "--with-netsnmp=yes"
+    "--with-netsnmp-inc=${stdenv.lib.getDev net-snmp}/include"
+    "--with-netsnmp-lib=${stdenv.lib.getLib net-snmp}/lib"
   ];
 
   enableParallelBuilding = true;