[Nix-dev] Re: [Nix-commits] SVN commit: nix - 18155 - NicolasPierron - in nixos/trunk: modules/services/web-servers/apache-httpd tests
Nicolas Pierron
nicolas.b.pierron at gmail.com
Thu Nov 5 20:33:07 CET 2009
Hi Nixers,
I am currently rewriting apache-httpd sub-services because these
services are not documented and hard to understand. I have currently
made small changes to document some parts of it.
These changes implies some modifications inside the syntax of
sub-services. As you can see in the following diff, all options which
are related to the sub-service should be embedded inside a
configuration set.
On Thu, Nov 5, 2009 at 20:24, Nicolas Pierron
<nicolas.b.pierron at gmail.com> wrote:
> Modified: nixos/trunk/tests/subversion.nix
> ===================================================================
> --- nixos/trunk/tests/subversion.nix 2009-11-05 18:46:57 UTC (rev 18154)
> +++ nixos/trunk/tests/subversion.nix 2009-11-05 19:24:02 UTC (rev 18155)
> @@ -56,9 +56,11 @@
> services.httpd.adminAddr = "e.dolstra at tudelft.nl";
> services.httpd.extraSubservices =
> [ { serviceType = "subversion";
> - urlPrefix = "";
> - dataDir = "/data/subversion";
> - userCreationDomain = "192.168.0.0/16";
> + configuration = {
> + urlPrefix = "";
> + dataDir = "/data/subversion";
> + userCreationDomain = "192.168.0.0/16";
> + };
> }
> ];
I will continue to make modification inside sub-services to avoid
using services.httpd.extraSubservices . This option should not change
until it gets removed.
If other modifications are needed, I will warn you on this mailing list.
--
Nicolas Pierron
http://www.linkedin.com/in/nicolasbpierron - http://nbp.name/
If you are doing something twice then you should try to do it once.
More information about the nix-dev
mailing list