cron: fix for cross ($CC, no 'install -s')

This commit is contained in:
Will Dietz 2018-01-14 18:35:11 -06:00
parent 10aa7a9611
commit 11281bb54d

View File

@ -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.