summary refs log tree commit diff
path: root/pkgs/tools/system
diff options
context:
space:
mode:
authorJoachim F <joachifm@users.noreply.github.com>2017-06-30 18:30:02 +0100
committerGitHub <noreply@github.com>2017-06-30 18:30:02 +0100
commit8604630d9234cc54eef3a0dbaf10247f528cffa5 (patch)
tree9ea8625284300dc23ab663dfeb2ec6fba3ae0cf7 /pkgs/tools/system
parent9d551d021f6cfaa56a2d24075aca198288969443 (diff)
parentbcaceabc3c5076b36ab451e6f23a9d9c1df940c1 (diff)
downloadnixpkgs-8604630d9234cc54eef3a0dbaf10247f528cffa5.tar
nixpkgs-8604630d9234cc54eef3a0dbaf10247f528cffa5.tar.gz
nixpkgs-8604630d9234cc54eef3a0dbaf10247f528cffa5.tar.bz2
nixpkgs-8604630d9234cc54eef3a0dbaf10247f528cffa5.tar.lz
nixpkgs-8604630d9234cc54eef3a0dbaf10247f528cffa5.tar.xz
nixpkgs-8604630d9234cc54eef3a0dbaf10247f528cffa5.tar.zst
nixpkgs-8604630d9234cc54eef3a0dbaf10247f528cffa5.zip
Merge pull request #26939 from dtzWill/fix/perms-fallout-misc-2
Fixup various setuid/setgid permission problems, part 2
Diffstat (limited to 'pkgs/tools/system')
-rw-r--r--pkgs/tools/system/mcron/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/tools/system/mcron/default.nix b/pkgs/tools/system/mcron/default.nix
index a90d6afdc61..5863504c704 100644
--- a/pkgs/tools/system/mcron/default.nix
+++ b/pkgs/tools/system/mcron/default.nix
@@ -10,6 +10,11 @@ stdenv.mkDerivation rec {
 
   patches = [ ./install-vixie-programs.patch ];
 
+  # don't attempt to chmod +s files in the nix store
+  postPatch = ''
+    substituteInPlace makefile.in --replace "rwxs" "rwx"
+  '';
+
   buildInputs = [ guile which ed ];
 
   doCheck = true;