* libvirt: use /var and set the correct paths to ip/iptables.
svn path=/nixpkgs/trunk/; revision=26091
This commit is contained in:
parent
76b07fbc18
commit
6bab14437c
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, libxml2, gnutls, devicemapper, perl, python }:
|
||||
{ stdenv, fetchurl, libxml2, gnutls, devicemapper, perl, python, iproute, iptables }:
|
||||
|
||||
let version = "0.8.8"; in
|
||||
|
||||
@ -10,12 +10,17 @@ stdenv.mkDerivation {
|
||||
sha256 = "04z1757qpi3ssnjv5h2qnw1sds2m50yxk67cbdam6w4i50vyl2h3";
|
||||
};
|
||||
|
||||
buildInputs = [ libxml2 gnutls devicemapper perl python ];
|
||||
buildInputs = [ libxml2 gnutls devicemapper perl python iproute iptables ];
|
||||
|
||||
# xen currently disabled in nixpkgs
|
||||
configureFlags = ''
|
||||
--without-xen
|
||||
'';
|
||||
configureFlags =
|
||||
''
|
||||
--localstatedir=/var
|
||||
IP_PATH=${iproute}/sbin/ip
|
||||
IPTABLES_PATH=${iptables}/sbin/iptables
|
||||
IP6TABLES_PATH=${iptables}/sbin/ip6tables
|
||||
'';
|
||||
|
||||
installFlags = "localstatedir=$(TMPDIR)/var";
|
||||
|
||||
meta = {
|
||||
homepage = http://libvirt.org/;
|
||||
|
Loading…
Reference in New Issue
Block a user