From 49ec58bd1caca87891e5e10ec267ff44bf5138f9 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 00657757fce4..1474232bd624 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 }; }