fix openvpn making it find ifonfig

svn path=/nixpkgs/trunk/; revision=15380
This commit is contained in:
Marc Weber 2009-04-28 15:37:52 +00:00
parent 955b111f9a
commit 48216ba01a
2 changed files with 8 additions and 2 deletions

View File

@ -7,7 +7,13 @@ stdenv.mkDerivation {
sha256 = "198k5lbw0bnx67hgflzlzncmdnww0wa7fll0kkirmckav93y7kv6";
};
buildInputs = [ iproute lzo openssl];
buildInputs = [ iproute lzo openssl ];
configureFlags = ''
--with-ifconfig-path=${nettools}/sbin/ifconfig
--with-iproute-path=${iproute}/sbin/ip
--with-route-path=${nettools}/sbin/route
'';
meta = {
description="OpenVPN is a robust and highly flexible tunneling application compatible with many OSes.";

View File

@ -1047,7 +1047,7 @@ let
};
openvpn = import ../tools/networking/openvpn {
inherit fetchurl stdenv iproute lzo openssl;
inherit fetchurl stdenv iproute lzo openssl nettools;
};
p7zip = import ../tools/archivers/p7zip {