summary refs log tree commit diff
path: root/pkgs/tools/system/mcron/default.nix
diff options
context:
space:
mode:
authorWill Dietz <w@wdtz.org>2017-06-28 14:12:23 -0500
committerWill Dietz <w@wdtz.org>2017-06-28 14:31:43 -0500
commit7492873014f64ab52bb945f8335364830530dc8b (patch)
treed3eb53dbedf456ada379e5182212bb16e93a00b0 /pkgs/tools/system/mcron/default.nix
parentd339dc762c73564cfbd20ab6c9be803e9c12e1e0 (diff)
downloadnixpkgs-7492873014f64ab52bb945f8335364830530dc8b.tar
nixpkgs-7492873014f64ab52bb945f8335364830530dc8b.tar.gz
nixpkgs-7492873014f64ab52bb945f8335364830530dc8b.tar.bz2
nixpkgs-7492873014f64ab52bb945f8335364830530dc8b.tar.lz
nixpkgs-7492873014f64ab52bb945f8335364830530dc8b.tar.xz
nixpkgs-7492873014f64ab52bb945f8335364830530dc8b.tar.zst
nixpkgs-7492873014f64ab52bb945f8335364830530dc8b.zip
mcron: Fix attempt to set +s during install
Diffstat (limited to 'pkgs/tools/system/mcron/default.nix')
-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;