Enabling nfsv4 and nfsv41 in nfsUtils (or at least I think so).
svn path=/nixpkgs/trunk/; revision=33315
This commit is contained in:
@@ -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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user