cron: supports darwin

This commit is contained in:
Matthew Bauer 2017-04-20 23:45:29 -05:00
parent 9e92c53b53
commit 02285dcd10
No known key found for this signature in database
GPG Key ID: E04D0AD9469141C3

View File

@ -13,7 +13,7 @@ stdenv.mkDerivation {
preBuild = ''
substituteInPlace Makefile --replace ' -o root' ' ' --replace 111 755
makeFlags="DESTROOT=$out"
makeFlags="DESTROOT=$out CC=cc"
# We want to ignore the $glibc/include/paths.h definition of
# sendmail path.
@ -35,6 +35,6 @@ stdenv.mkDerivation {
meta = {
description = "Daemon for running commands at specific times (Vixie Cron)";
platforms = stdenv.lib.platforms.linux;
platforms = with stdenv.lib.platforms; linux ++ darwin;
};
}