[Nix-dev] Re: [Nix-commits] SVN commit: nix - 21409 - MarcWeber - nixos/trunk/modules/services/misc

Ludovic Courtès ludo at gnu.org
Wed Apr 28 23:30:35 CEST 2010


Hi Marc,

Marc Weber <marco-oweber at gmx.de> writes:

> --- nixos/trunk/modules/services/misc/nix-daemon.nix	2010-04-28 15:01:06 UTC (rev 21408)
> +++ nixos/trunk/modules/services/misc/nix-daemon.nix	2010-04-28 19:52:00 UTC (rev 21409)
> @@ -75,6 +75,12 @@
>          description = "
>            Whether to distribute builds to the machines listed in
>            <option>nix.buildMachines</option>.
> +          If you know that the <option>buildMachines</buildMachines> are not

Should be “<option>nix.buildMachines</option>” for consistency.

> +          always available either use nixos

Remove “nixos”.

> +          <command>nixos-rebuild --no-build-hook</command>
> +          or consider managing <filename>/etc/nix.machines</filename> manually
> +          by setting <option>manualNixMachines</option>. Then you can comment

“comment out”

> +          unavailable buildmachines.

“the unavailable build machines”.

Besides these typos, I find the wording unclear.

What about this:

    <para>
    When the machines listed in <option>nix.buildMachines</option> are
    known to be unavailable, use <command>nixos-rebuild
    --no-build-hook</command> to ignore them.
    </para>

    <para>
    When the build machines are intermittently unavailable, it may be
    more convenient to manage them manually by setting
    <option>manualNixMachines</option> and updating
    <filename>/etc/nix.machines</filename>.
    </para>

Thanks,
Ludo’.



More information about the nix-dev mailing list