Skip to content

Commit

Permalink
gatling: fix undefined reference to 'crypt'
Browse files Browse the repository at this point in the history
ff30c89 made libcrypt support optional (and off-by-default) in
glibc, which requires all packages still using it to depend on
libxcrypt.

See also NixOS#181764
  • Loading branch information
herrwiese committed Nov 30, 2022
1 parent 35f080b commit 49ec58b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkgs/servers/http/gatling/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, libowfat, libcap, zlib, openssl }:
{ lib, stdenv, fetchurl, libowfat, libcap, zlib, openssl, libxcrypt }:

let
version = "0.16";
Expand All @@ -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"
Expand All @@ -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
};
}

0 comments on commit 49ec58b

Please sign in to comment.