[Nix-dev] Re: [Nix-commits] SVN commit: nix - 12472 - raskin - in nixos/trunk: system upstart-jobs
Nicolas Pierron
nicolas.b.pierron at gmail.com
Mon Aug 4 12:58:08 CEST 2008
Hi Michael,
On Mon, Aug 4, 2008 at 11:36, Michael Raskin <7c6f434c at mail.ru> wrote:
> Author: raskin
> Date: 2008-08-04 09:36:11 +0000 (Mon, 04 Aug 2008)
> New Revision: 12472
>
> Modified:
> nixos/trunk/upstart-jobs/vsftpd.nix
I have a small suggestion ;)
enableVarYesNo = cond: name:
if cond then "${name}_enable=YES" else "${name}_enable=NO";
Cheers,
--
Nicolas Pierron
- If you are doing something twice then you should try to do it once.
More information about the nix-dev
mailing list