Commit 9ebbbb4f authored by Félix Baylac Jacqué's avatar Félix Baylac Jacqué
Browse files

Pleroma: use libxcrypt-legacy

4e300e07 disabled the "weak cyphers"
on libxcrypt. For some reason, this is breaking the crypt hex library.

Using lybxcrypt-legacy, which re-enables these weak cyphers.

Upstream removed the crypt dependency and is drafting a new release.
We'll drop altogether this libxcrypt dependency soon enough anyways.

Fixes #223518
parent d5befe02
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
{ lib, beamPackages
, fetchFromGitHub, fetchFromGitLab, fetchHex
, file, cmake
, libxcrypt
, libxcrypt-legacy
, nixosTests, writeText
, ...
}:
@@ -165,7 +165,7 @@ beamPackages.mixRelease rec {
      crypt = let
        version = prev.crypt.version;
      in prev.crypt.override {
        buildInputs = [ libxcrypt ];
        buildInputs = [ libxcrypt-legacy ];
        postInstall = "mv $out/lib/erlang/lib/crypt-${version}/priv/{hex-source-crypt-${version},crypt}.so";
      };
    });