ldmud: use libxcrypt-legacy

The LDMud game driver defaults to using a legacy DES hash that is
(sensibly) only enabled in the libxcrypt-legacy derivation, not
libxcrypt.

This commit switches LDMud to that build input instead of libxcrypt.
This fixes a runtime error when calling `efun::crypt()` from LPC that
would print a confusing error message like "crypt() is not available.".
This commit is contained in:
Daniel McCarney
2025-03-20 10:18:55 -04:00
parent 6cfe739274
commit 5612ed0305
+2 -2
View File
@@ -7,7 +7,7 @@
, libiconv
, pcre
, libgcrypt
, libxcrypt
, libxcrypt-legacy
, json_c
, libxml2
, ipv6Support ? false
@@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs =
[ autoreconfHook pkg-config bison ];
buildInputs = [ libgcrypt libxcrypt pcre json_c libxml2 ]
buildInputs = [ libgcrypt libxcrypt-legacy pcre json_c libxml2 ]
++ lib.optional mccpSupport zlib ++ lib.optional mysqlSupport libmysqlclient
++ lib.optional postgresSupport libpq
++ lib.optional sqliteSupport sqlite ++ lib.optional tlsSupport openssl