Unverified Commit 5612ed03 authored by Daniel McCarney's avatar Daniel McCarney
Browse files

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.".
parent 6cfe7392
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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