mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 20:21:14 +00:00
* Make sure that the pid file is placed in /var/run.
svn path=/nixpkgs/trunk/; revision=16794
This commit is contained in:
parent
d937a1bae0
commit
0c86d710fe
|
@ -17,12 +17,21 @@ stdenv.mkDerivation {
|
||||||
ssmtp
|
ssmtp
|
||||||
];
|
];
|
||||||
|
|
||||||
configurePhase = ''
|
preConfigure =
|
||||||
export PATH="${ssmtp}/sbin:$PATH"
|
''
|
||||||
./configure --prefix=$out --with-etcdir=/etc/at \
|
export PATH="${ssmtp}/sbin:$PATH"
|
||||||
--with-jobdir=/var/spool/atjobs --with-atspool=/var/spool/atspool \
|
|
||||||
--with-daemon_username=atd --with-daemon_groupname=atd
|
# Purity: force atd.pid to be placed in /var/run regardless of
|
||||||
'';
|
# whether it exists now.
|
||||||
|
substituteInPlace ./configure --replace "test -d /var/run" "true"
|
||||||
|
'';
|
||||||
|
|
||||||
|
configureFlags =
|
||||||
|
''
|
||||||
|
--with-etcdir=/etc/at
|
||||||
|
--with-jobdir=/var/spool/atjobs --with-atspool=/var/spool/atspool
|
||||||
|
--with-daemon_username=atd --with-daemon_groupname=atd
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = ''The classical Unix `at' job scheduling command'';
|
description = ''The classical Unix `at' job scheduling command'';
|
||||||
|
|
Loading…
Reference in a new issue