Merge pull request #203689 from herrwiese/for-master/gatling-libxcrypt

gatling: fix undefined reference to 'crypt'
This commit is contained in:
figsoda 2022-11-29 23:21:44 -05:00 committed by GitHub
commit 34e506f1d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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
};
}