Merge pull request #199440 from cpu/cpu-ldmud-fix-missing-crypt

This commit is contained in:
Martin Weinelt 2022-11-04 18:45:00 +01:00 committed by GitHub
commit 2ce9f6b6ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,6 +7,7 @@
, libiconv , libiconv
, pcre , pcre
, libgcrypt , libgcrypt
, libxcrypt
, json_c , json_c
, libxml2 , libxml2
, ipv6Support ? false , ipv6Support ? false
@ -39,12 +40,13 @@ stdenv.mkDerivation rec {
sourceRoot = "${src.name}/src"; sourceRoot = "${src.name}/src";
nativeBuildInputs = nativeBuildInputs =
[ autoreconfHook pkg-config bison libgcrypt pcre json_c libxml2 ] [ autoreconfHook pkg-config bison ];
buildInputs = [ libgcrypt libxcrypt pcre json_c libxml2 ]
++ lib.optional mccpSupport zlib ++ lib.optional mysqlSupport libmysqlclient ++ lib.optional mccpSupport zlib ++ lib.optional mysqlSupport libmysqlclient
++ lib.optional postgresSupport postgresql ++ lib.optional postgresSupport postgresql
++ lib.optional sqliteSupport sqlite ++ lib.optional tlsSupport openssl ++ lib.optional sqliteSupport sqlite ++ lib.optional tlsSupport openssl
++ lib.optional pythonSupport python310; ++ lib.optional pythonSupport python310
buildInputs = lib.optionals stdenv.isDarwin [ libiconv ]; ++ lib.optionals stdenv.isDarwin [ libiconv ];
# To support systems without autoconf LD puts its configure.ac in a non-default # To support systems without autoconf LD puts its configure.ac in a non-default
# location and uses a helper script. We skip that script and symlink the .ac # location and uses a helper script. We skip that script and symlink the .ac