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/";