about summary refs log tree commit diff
path: root/pkgs/servers/http
diff options
context:
space:
mode:
authorAndreas Wiese <aw-nixos@meterriblecrew.net>2022-11-28 23:02:29 +0100
committerAndreas Wiese <aw-nixos@meterriblecrew.net>2022-11-30 01:03:34 +0100
commit49ec58bd1caca87891e5e10ec267ff44bf5138f9 (patch)
tree640d27e0f690c20e94ea6bf108edf71c4806c490 /pkgs/servers/http
parent35f080bb1883da1d2c0c489b262c9b0d7918f8cb (diff)
gatling: fix undefined reference to 'crypt'
ff30c899d8b 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
Diffstat (limited to 'pkgs/servers/http')
-rw-r--r--pkgs/servers/http/gatling/default.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/pkgs/servers/http/gatling/default.nix b/pkgs/servers/http/gatling/default.nix
index 00657757fce4d..1474232bd6243 100644
--- a/pkgs/servers/http/gatling/default.nix
+++ b/pkgs/servers/http/gatling/default.nix
@@ -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
   };
 }