dbench: fix build w/glibc-2.32

This commit is contained in:
Maximilian Bosch 2020-08-12 22:50:23 +02:00
parent 23e870d828
commit 73277d313e
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E

View File

@ -1,4 +1,4 @@
{ stdenv, fetchgit, autoconf, popt, zlib }:
{ stdenv, fetchgit, autoconf, popt, zlib, rpcsvc-proto, libtirpc }:
stdenv.mkDerivation {
name = "dbench-2013-01-01";
@ -9,7 +9,10 @@ stdenv.mkDerivation {
sha256 = "16lcbwmmx8z5i73k3dnf54yffrpx7ql3y9k3cpkss9dcyxb1p83i";
};
buildInputs = [ autoconf popt zlib ];
nativeBuildInputs = [ autoconf rpcsvc-proto ];
buildInputs = [ popt zlib libtirpc ];
NIX_CFLAGS_COMPILE = [ "-I${libtirpc.dev}/include/tirpc" ];
NIX_LDFLAGS = [ "-ltirpc" ];
patches = [
# patch has been also sent upstream and might be included in future versions