Enabling nfsv4 and nfsv41 in nfsUtils (or at least I think so).

svn path=/nixpkgs/trunk/; revision=33315
This commit is contained in:
Lluís Batlle i Rossell
2012-03-20 23:17:45 +00:00
parent 2ce433c26c
commit b2d61a850d
4 changed files with 27 additions and 4 deletions
+6 -4
View File
@@ -1,4 +1,5 @@
{ fetchurl, stdenv, tcpWrapper, utillinux, libcap }:
{ fetchurl, stdenv, tcpWrapper, utillinux, libcap, libtirpc, libevent, libnfsidmap, lvm2,
e2fsprogs }:
stdenv.mkDerivation rec {
name = "nfs-utils-1.2.5";
@@ -8,13 +9,14 @@ stdenv.mkDerivation rec {
sha256 = "16ssfkj36ljifyaskgwpd3ys8ylhi5gasq88aha3bhg5dr7yv59m";
};
# Needs `libblkid' and `libcomerr' from `e2fsprogs' or `util-linux-ng'.
buildInputs = [ tcpWrapper utillinux libcap ];
buildInputs = [ tcpWrapper utillinux libcap libtirpc libevent libnfsidmap lvm2
e2fsprogs ];
# FIXME: Add the dependencies needed for NFSv4 and TI-RPC.
configureFlags =
[ "--disable-gss" "--disable-nfsv4" "--disable-nfsv41" "--disable-tirpc"
[ "--disable-gss"
"--with-statedir=/var/lib/nfs"
"--with-tirpcinclude=${libtirpc}/include/tirpc"
]
++ stdenv.lib.optional (stdenv ? glibc) "--with-rpcgen=${stdenv.glibc}/bin/rpcgen";