gatling: fix undefined reference to 'crypt'

ff30c899d8 made libcrypt support optional (and off-by-default) in
glibc, which requires all packages still using it to depend on
libxcrypt.

See also https://github.com/NixOS/nixpkgs/pull/181764
This commit is contained in:
Andreas Wiese 2022-11-28 23:02:29 +01:00
parent 35f080bb18
commit 49ec58bd1c

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, libowfat, libcap, zlib, openssl }:
{ lib, stdenv, fetchurl, libowfat, libcap, zlib, openssl, libxcrypt }:
let
version = "0.16";
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
sha256 = "0nrnws5qrl4frqcsfa9z973vv5mifgr9z170qbvg3mq1wa7475jz";
};
buildInputs = [ libowfat libcap zlib openssl.dev ];
buildInputs = [ libowfat libcap zlib openssl libxcrypt ];
configurePhase = ''
substituteInPlace Makefile --replace "/usr/local" "$out"
@ -28,6 +28,5 @@ stdenv.mkDerivation rec {
homepage = "http://www.fefe.de/gatling/";
license = lib.licenses.gpl2;
platforms = platforms.linux;
broken = true; # 2022-11-16
};
}