nfs-utils: pass native rpcsvc-proto to configureFlag

It was passing in the targetPlatform's rpcgen binary which exec format errors of
course

Co-authored-by: Matthew Bauer <mjbauer95@gmail.com>
This commit is contained in:
Atemu 2020-12-12 10:23:30 +01:00
parent e9158eca70
commit b991ae0e28

View file

@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
"--with-systemd=${placeholder "out"}/etc/systemd/system"
"--enable-libmount-mount"
"--with-pluginpath=${placeholder "lib"}/lib/libnfsidmap" # this installs libnfsidmap
"--with-rpcgen=${rpcsvc-proto}/bin/rpcgen"
"--with-rpcgen=${buildPackages.rpcsvc-proto}/bin/rpcgen"
];
patches = lib.optionals stdenv.hostPlatform.isMusl [