nx-libs: fix build w/glibc-2.32

This commit is contained in:
Maximilian Bosch 2020-08-11 21:22:08 +02:00
parent 5e68d203f3
commit f5a2dd0811
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E

View File

@ -1,5 +1,7 @@
{ stdenv, autoconf, automake, fetchFromGitHub, libgcc, libjpeg_turbo,
libpng, libtool, libxml2, pkgconfig, which, xorg }:
{ stdenv, autoconf, automake, fetchFromGitHub, libgcc, libjpeg_turbo
, libpng, libtool, libxml2, pkgconfig, which, xorg
, libtirpc
}:
stdenv.mkDerivation rec {
pname = "nx-libs";
version = "3.5.99.24";
@ -15,7 +17,11 @@ stdenv.mkDerivation rec {
buildInputs = [ libgcc libjpeg_turbo libpng libxml2 xorg.fontutil
xorg.libXcomposite xorg.libXdamage xorg.libXdmcp xorg.libXext xorg.libXfont2
xorg.libXinerama xorg.libXpm xorg.libXrandr xorg.libXtst xorg.pixman
xorg.xkbcomp xorg.xkeyboardconfig ];
xorg.xkbcomp xorg.xkeyboardconfig libtirpc
];
NIX_CFLAGS_COMPILE = [ "-I${libtirpc.dev}/include/tirpc" ];
NIX_LDFLAGS = [ "-ltirpc" ];
enableParallelBuilding = true;