summary refs log tree commit diff
path: root/pkgs/development/libraries/libvirt
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2020-08-22 23:30:36 +0200
committerMaximilian Bosch <maximilian@mbosch.me>2020-09-12 23:04:50 +0200
commit698461394c6ffdaf0b1f0142ba800c5ba8a4ef8b (patch)
treee510b35cc4799ded064b4c3bd7e6da0700b8c3d8 /pkgs/development/libraries/libvirt
parent453add53dc2828e6bf2cd7510a8518862f1b03dd (diff)
downloadnixpkgs-698461394c6ffdaf0b1f0142ba800c5ba8a4ef8b.tar
nixpkgs-698461394c6ffdaf0b1f0142ba800c5ba8a4ef8b.tar.gz
nixpkgs-698461394c6ffdaf0b1f0142ba800c5ba8a4ef8b.tar.bz2
nixpkgs-698461394c6ffdaf0b1f0142ba800c5ba8a4ef8b.tar.lz
nixpkgs-698461394c6ffdaf0b1f0142ba800c5ba8a4ef8b.tar.xz
nixpkgs-698461394c6ffdaf0b1f0142ba800c5ba8a4ef8b.tar.zst
nixpkgs-698461394c6ffdaf0b1f0142ba800c5ba8a4ef8b.zip
libvirt_5_9_0: fix build w/glibc-2.32
Diffstat (limited to 'pkgs/development/libraries/libvirt')
-rw-r--r--pkgs/development/libraries/libvirt/5.9.0.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/development/libraries/libvirt/5.9.0.nix b/pkgs/development/libraries/libvirt/5.9.0.nix
index 514cf24f66e..722c4a53b8f 100644
--- a/pkgs/development/libraries/libvirt/5.9.0.nix
+++ b/pkgs/development/libraries/libvirt/5.9.0.nix
@@ -4,7 +4,7 @@
 , iproute, iptables, readline, lvm2, utillinux, systemd, libpciaccess, gettext
 , libtasn1, ebtables, libgcrypt, yajl, pmutils, libcap_ng, libapparmor
 , dnsmasq, libnl, libpcap, libxslt, xhtml1, numad, numactl, perlPackages
-, curl, libiconv, gmp, zfs, parted, bridge-utils, dmidecode, glib
+, curl, libiconv, gmp, zfs, parted, bridge-utils, dmidecode, glib, rpcsvc-proto, libtirpc
 , enableXen ? false, xen ? null
 , enableIscsi ? false, openiscsi
 , enableCeph ? false, ceph
@@ -33,10 +33,10 @@ in stdenv.mkDerivation rec {
         fetchSubmodules = true;
       };
 
-  nativeBuildInputs = [ makeWrapper pkgconfig ];
+  nativeBuildInputs = [ makeWrapper pkgconfig rpcsvc-proto ];
   buildInputs = [
     libxml2 gnutls perl python2 readline gettext libtasn1 libgcrypt yajl
-    libxslt xhtml1 perlPackages.XMLXPath curl libpcap glib
+    libxslt xhtml1 perlPackages.XMLXPath curl libpcap glib libtirpc
   ] ++ optionals (!buildFromTarball) [
     libtool autoconf automake
   ] ++ optionals stdenv.isLinux [
@@ -76,6 +76,7 @@ in stdenv.mkDerivation rec {
     "QEMU_BRIDGE_HELPER=/run/wrappers/bin/qemu-bridge-helper"
     "QEMU_PR_HELPER=/run/libvirt/nix-helpers/qemu-pr-helper"
     "EBTABLES_PATH=${ebtables}/bin/ebtables-legacy"
+    "CFLAGS=-I${libtirpc.dev}/include/tirpc"
     "--with-attr"
     "--with-apparmor"
     "--with-secdriver-apparmor"