From b788956239172eccd3cb07c5a9c9ccd0891627c8 Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Sun, 25 Jun 2017 21:18:00 +0200 Subject: [PATCH] libcgroup: do not set suid bit in nix store --- pkgs/os-specific/linux/libcgroup/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/os-specific/linux/libcgroup/default.nix b/pkgs/os-specific/linux/libcgroup/default.nix index b51211e9aaf8..a70ab13db623 100644 --- a/pkgs/os-specific/linux/libcgroup/default.nix +++ b/pkgs/os-specific/linux/libcgroup/default.nix @@ -11,6 +11,11 @@ stdenv.mkDerivation rec { buildInputs = [ pam yacc flex ]; + postPatch = '' + substituteInPlace src/tools/Makefile.in \ + --replace 'chmod u+s' 'chmod +x' + ''; + meta = { description = "Library and tools to manage Linux cgroups"; homepage = "http://libcg.sourceforge.net/";