cron: supports darwin
This commit is contained in:
parent
9e92c53b53
commit
02285dcd10
@ -13,7 +13,7 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
substituteInPlace Makefile --replace ' -o root' ' ' --replace 111 755
|
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
|
# We want to ignore the $glibc/include/paths.h definition of
|
||||||
# sendmail path.
|
# sendmail path.
|
||||||
@ -35,6 +35,6 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Daemon for running commands at specific times (Vixie Cron)";
|
description = "Daemon for running commands at specific times (Vixie Cron)";
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = with stdenv.lib.platforms; linux ++ darwin;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user