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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user