From 4e025437d7f21cfd220a5a9161093a660ad8edc8 Mon Sep 17 00:00:00 2001 From: "Ricardo M. Correia" Date: Mon, 3 Jul 2017 20:24:33 +0200 Subject: [PATCH] atop: don't chmod u+s, otherwise Nix build fails --- pkgs/os-specific/linux/atop/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/os-specific/linux/atop/default.nix b/pkgs/os-specific/linux/atop/default.nix index 790ab51c80df..ea4f44f52bbb 100644 --- a/pkgs/os-specific/linux/atop/default.nix +++ b/pkgs/os-specific/linux/atop/default.nix @@ -25,6 +25,7 @@ stdenv.mkDerivation rec { sed -e "/touch.*LOGPATH/s@touch@echo should have created @" -i Makefile sed -e 's/chown/true/g' -i Makefile sed -e '/chkconfig/d' -i Makefile + sed -e 's/chmod 04711/chmod 0711/g' -i Makefile ''; preInstall = ''