From 39e95aa159ec002f1c1f4bfa28e0eb944e80da5c Mon Sep 17 00:00:00 2001 From: "Vince v. Oosten" Date: Mon, 10 Apr 2017 23:36:35 +0200 Subject: [PATCH 1/2] add disk storage to libvirt --- pkgs/development/libraries/libvirt/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/libvirt/default.nix b/pkgs/development/libraries/libvirt/default.nix index 96649a0927ee..9eb4c1164850 100644 --- a/pkgs/development/libraries/libvirt/default.nix +++ b/pkgs/development/libraries/libvirt/default.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, xen, zfs +, curl, libiconv, gmp, xen, zfs, parted }: with stdenv.lib; @@ -50,6 +50,7 @@ stdenv.mkDerivation rec { "--with-test" "--with-esx" "--with-remote" + "--with-storage-disk" ] ++ optionals stdenv.isLinux [ "--with-attr" "--with-apparmor" From 00c3bd1561b5027562e827341e71cfd2fab1904c Mon Sep 17 00:00:00 2001 From: Vince van Oosten Date: Tue, 11 Apr 2017 16:05:07 +0200 Subject: [PATCH 2/2] add parted to build inputs --- pkgs/development/libraries/libvirt/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/libvirt/default.nix b/pkgs/development/libraries/libvirt/default.nix index 9eb4c1164850..9449a8f538f1 100644 --- a/pkgs/development/libraries/libvirt/default.nix +++ b/pkgs/development/libraries/libvirt/default.nix @@ -24,7 +24,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ makeWrapper pkgconfig ]; buildInputs = [ libxml2 gnutls perl python2 readline gettext libtasn1 libgcrypt yajl - attr libxslt xhtml1 perlPackages.XMLXPath curl libpcap + attr libxslt xhtml1 perlPackages.XMLXPath curl libpcap parted ] ++ optionals stdenv.isLinux [ libpciaccess devicemapper lvm2 utillinux systemd libnl numad zfs libapparmor libcap_ng numactl xen