From ecc34cbdb3f04855f7140b96d3631f0f2a4bd9ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sun, 18 Jun 2017 11:50:03 +0100 Subject: [PATCH] glusterfs: do not set setuid in install related to #26600 --- pkgs/tools/filesystems/glusterfs/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/tools/filesystems/glusterfs/default.nix b/pkgs/tools/filesystems/glusterfs/default.nix index 60e49486454..af76e429d31 100644 --- a/pkgs/tools/filesystems/glusterfs/default.nix +++ b/pkgs/tools/filesystems/glusterfs/default.nix @@ -65,6 +65,10 @@ rec { inherit (s) name version; inherit buildInputs propagatedBuildInputs; + postPatch = '' + sed -e '/chmod u+s/d' -i contrib/fuse-util/Makefile.am + ''; + patches = [ ./glusterfs-use-PATH-instead-of-hardcodes.patch ./glusterfs-fix-unsubstituted-autoconf-macros.patch