mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 04:12:44 +03:00
6f70fd1c6b
anymore since the build process was very hacky. Instead mount/umount looks for mount helpers in /var/run/current-system/sw/sbin. It would be better to use an environment variable, but that would be risky if mount is setuid root. * e2fsprogs: updated to 1.41.8. Don't build libuuid, libblkid etc. anymore, since they have been moved to util-linux-ng. * nfs-utils: updated to 1.2.0. svn path=/nixpkgs/trunk/; revision=16682
36 lines
972 B
Nix
36 lines
972 B
Nix
{ fetchurl, stdenv, tcpWrapper, libuuid }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "nfs-utils-1.2.0";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/nfs/${name}.tar.bz2";
|
|
sha256 = "1ld1f6wcm53pza3zy768y1y8xa01zq3bnjyy1j3z62yd7a5lcffb";
|
|
};
|
|
|
|
# Needs `libblkid' and `libcomerr' from `e2fsprogs' or `util-linux-ng'.
|
|
buildInputs = [ tcpWrapper libuuid ];
|
|
|
|
# FIXME: Currently too lazy to build the dependencies needed for NFSv4.
|
|
configureFlags = "--disable-gss --disable-nfsv4 --with-statedir=/var/lib/nfs";
|
|
|
|
preBuild =
|
|
''
|
|
makeFlags="sbindir=$out/sbin"
|
|
installFlags="statedir=$TMPDIR" # hack to make `make install' work
|
|
'';
|
|
|
|
meta = {
|
|
description = "Linux user-space NFS utilities";
|
|
|
|
longDescription = ''
|
|
This package contains various Linux user-space Network File
|
|
System (NFS) utilities, including RPC `mount' and `nfs'
|
|
daemons.
|
|
'';
|
|
|
|
homepage = http://nfs.sourceforge.net/;
|
|
license = "GPLv2";
|
|
};
|
|
}
|