summary refs log tree commit diff
path: root/pkgs/tools/filesystems/glusterfs/default.nix
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2017-06-18 11:50:03 +0100
committerJörg Thalheim <joerg@thalheim.io>2017-06-18 11:57:23 +0100
commitecc34cbdb3f04855f7140b96d3631f0f2a4bd9ae (patch)
treecddc69c1581cbbd5432056870e1c46cc1b2ca7d4 /pkgs/tools/filesystems/glusterfs/default.nix
parent4eeefadf4f125f45b30b9ec790b9ef60679d3038 (diff)
downloadnixpkgs-ecc34cbdb3f04855f7140b96d3631f0f2a4bd9ae.tar
nixpkgs-ecc34cbdb3f04855f7140b96d3631f0f2a4bd9ae.tar.gz
nixpkgs-ecc34cbdb3f04855f7140b96d3631f0f2a4bd9ae.tar.bz2
nixpkgs-ecc34cbdb3f04855f7140b96d3631f0f2a4bd9ae.tar.lz
nixpkgs-ecc34cbdb3f04855f7140b96d3631f0f2a4bd9ae.tar.xz
nixpkgs-ecc34cbdb3f04855f7140b96d3631f0f2a4bd9ae.tar.zst
nixpkgs-ecc34cbdb3f04855f7140b96d3631f0f2a4bd9ae.zip
glusterfs: do not set setuid in install
related to #26600
Diffstat (limited to 'pkgs/tools/filesystems/glusterfs/default.nix')
-rw-r--r--pkgs/tools/filesystems/glusterfs/default.nix4
1 files changed, 4 insertions, 0 deletions
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