[Nix-dev] [Nix-commits] SVN commit: nix - r30335 - nixos/trunk/modules/installer/cd-dvd

Nicolas Pierron nicolas.b.pierron at gmail.com
Tue Nov 8 19:15:07 CET 2011


Hi,

Could we define a writting convention, I hate the writing style of the
require list.

On Tue, Nov 8, 2011 at 17:39, Eelco Dolstra <e.dolstra at tudelft.nl> wrote:
> Modified: nixos/trunk/modules/installer/cd-dvd/installation-cd-minimal.nix
> ==============================================================================
> --- nixos/trunk/modules/installer/cd-dvd/installation-cd-minimal.nix    Tue Nov  8 16:32:24 2011        (r30334)
> +++ nixos/trunk/modules/installer/cd-dvd/installation-cd-minimal.nix    Tue Nov  8 16:39:13 2011        (r30335)
> @@ -1,11 +1,11 @@
>  # This module defines a small NixOS installation CD.  It does not
>  # contain any graphical stuff.
>
> -{config, pkgs, ...}:
> +{ config, pkgs, ... }:

I am ok for this one,

>  {
> -  require = [
> -    ./installation-cd-base.nix
> -    ../../profiles/minimal.nix
> -  ];
> +  require =
> +    [ ./installation-cd-base.nix
> +      ../../profiles/minimal.nix
> +    ];
>  }

But this is ugly and need more horizontal space.

-- 
Nicolas Pierron
http://www.linkedin.com/in/nicolasbpierron - http://nbp.name/


More information about the nix-dev mailing list