diff options
author | Will Dietz <w@wdtz.org> | 2018-01-14 18:35:11 -0600 |
---|---|---|
committer | Will Dietz <w@wdtz.org> | 2018-01-24 09:33:35 -0600 |
commit | 11281bb54d0eb8903792364cd4ad3192be81874f (patch) | |
tree | b0414aff242540952afc6041bfb1f9136c5908d7 /pkgs/tools/system/cron | |
parent | 10aa7a9611b4ba64c8b229ddc8cb912045e8ad9c (diff) |
cron: fix for cross ($CC, no 'install -s')
Diffstat (limited to 'pkgs/tools/system/cron')
-rw-r--r-- | pkgs/tools/system/cron/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/tools/system/cron/default.nix b/pkgs/tools/system/cron/default.nix index 4a8babfd63021..d6347798053b7 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. |