tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
nfs-utils: 2.5.1 -> 2.6.2
ajs124
3 years ago
356ea489
ce7b4fd5
+7
-3
1 changed file
expand all
collapse all
unified
split
pkgs
os-specific
linux
nfs-utils
default.nix
+7
-3
pkgs/os-specific/linux/nfs-utils/default.nix
···
10
10
11
11
stdenv.mkDerivation rec {
12
12
pname = "nfs-utils";
13
13
-
version = "2.5.1";
13
13
+
version = "2.6.2";
14
14
15
15
src = fetchurl {
16
16
-
url = "https://kernel.org/pub/linux/utils/nfs-utils/${version}/${pname}-${version}.tar.xz";
17
17
-
sha256 = "1i1h3n2m35q9ixs1i2qf1rpjp10cipa3c25zdf1xj1vaw5q8270g";
16
16
+
url = "mirror://kernel/linux/utils/nfs-utils/${version}/${pname}-${version}.tar.xz";
17
17
+
hash = "sha256-UgCHPoHE1hDiRi/CYv4YE18tvni3l5+VrM0VmuZNUBE=";
18
18
};
19
19
20
20
# libnfsidmap is built together with nfs-utils from the same source,
···
46
46
"--enable-libmount-mount"
47
47
"--with-pluginpath=${placeholder "lib"}/lib/libnfsidmap" # this installs libnfsidmap
48
48
"--with-rpcgen=${buildPackages.rpcsvc-proto}/bin/rpcgen"
49
49
+
"--with-modprobedir=${placeholder "out"}/etc/modprobe.d"
49
50
];
50
51
51
52
patches = lib.optionals stdenv.hostPlatform.isMusl [
···
70
71
71
72
substituteInPlace systemd/nfs-utils.service \
72
73
--replace "/bin/true" "${coreutils}/bin/true"
74
74
+
75
75
+
substituteInPlace tools/nfsrahead/Makefile.in \
76
76
+
--replace "/usr/lib/udev/rules.d/" "$out/lib/udev/rules.d/"
73
77
74
78
substituteInPlace utils/mount/Makefile.in \
75
79
--replace "chmod 4511" "chmod 0511"