summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorWill Dietz <w@wdtz.org>2018-01-14 18:35:11 -0600
committerWill Dietz <w@wdtz.org>2018-01-24 09:33:35 -0600
commit11281bb54d0eb8903792364cd4ad3192be81874f (patch)
treeb0414aff242540952afc6041bfb1f9136c5908d7 /pkgs
parent10aa7a9611b4ba64c8b229ddc8cb912045e8ad9c (diff)
downloadnixpkgs-11281bb54d0eb8903792364cd4ad3192be81874f.tar
nixpkgs-11281bb54d0eb8903792364cd4ad3192be81874f.tar.gz
nixpkgs-11281bb54d0eb8903792364cd4ad3192be81874f.tar.bz2
nixpkgs-11281bb54d0eb8903792364cd4ad3192be81874f.tar.lz
nixpkgs-11281bb54d0eb8903792364cd4ad3192be81874f.tar.xz
nixpkgs-11281bb54d0eb8903792364cd4ad3192be81874f.tar.zst
nixpkgs-11281bb54d0eb8903792364cd4ad3192be81874f.zip
cron: fix for cross ($CC, no 'install -s')
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/tools/system/cron/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/tools/system/cron/default.nix b/pkgs/tools/system/cron/default.nix
index 4a8babfd630..d6347798053 100644
--- a/pkgs/tools/system/cron/default.nix
+++ b/pkgs/tools/system/cron/default.nix
@@ -14,7 +14,9 @@ stdenv.mkDerivation {
   preBuild = ''
     # do not set sticky bit in /nix/store 
     substituteInPlace Makefile --replace ' -o root' ' ' --replace 111 755 --replace 4755 0755
-    makeFlags="DESTROOT=$out CC=cc"
+    # do not strip during install, broken on cross and we'll do ourselves as needed
+    substituteInPlace Makefile --replace ' -s cron' ' cron'
+    makeFlags="DESTROOT=$out CC=$CC"
 
     # We want to ignore the $glibc/include/paths.h definition of
     # sendmail path.