From 355f49c90a6c19f6d2d46b4d258cf5f28bb1d23a Mon Sep 17 00:00:00 2001 From: Andreas Wiese Date: Mon, 28 Nov 2022 23:02:29 +0100 Subject: [PATCH] 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 --- pkgs/servers/http/gatling/default.nix | 5 ++--- 1 file 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 }; }