mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
Pleroma: use libxcrypt-legacy
4e300e071b
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
This commit is contained in:
parent
d5befe0223
commit
9ebbbb4fc0
@ -1,7 +1,7 @@
|
||||
{ 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";
|
||||
};
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user