nfs-utils: fixup setuid/setgid build problems, hopefully

This commit is contained in:
Vladimír Čunát 2017-06-08 20:43:04 +02:00
parent bbec4f5af7
commit 10f9fb63f1
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -39,6 +39,9 @@ in stdenv.mkDerivation rec {
sed -i "s,^PATH=.*,PATH=$out/bin:${statdPath}," utils/statd/start-statd
configureFlags="--with-start-statd=$out/bin/start-statd $configureFlags"
substituteInPlace utils/mount/Makefile.in \
--replace "chmod 4511" "chmod 0511"
'';
makeFlags = [