diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2017-04-20 23:45:29 -0500 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2017-04-23 18:08:42 -0500 |
commit | 02285dcd10cfcf4275f5ee09740ebfd28797c2e2 (patch) | |
tree | 4e64007df9d2ce7da7e2f0e3f39e5ac4073c586d /pkgs/tools/system | |
parent | 9e92c53b537d0affd242074045ac843179e0a4ea (diff) |
cron: supports darwin
Diffstat (limited to 'pkgs/tools/system')
-rw-r--r-- | pkgs/tools/system/cron/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/system/cron/default.nix b/pkgs/tools/system/cron/default.nix index dec1bacd741c3..bf345fadbd4e9 100644 --- a/pkgs/tools/system/cron/default.nix +++ b/pkgs/tools/system/cron/default.nix @@ -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; }; } |