[Nix-dev] Re: Re: optionally copying configuration.nix into system derivation

Yury G. Kudryashov urkud+nix at ya.ru
Tue Apr 27 23:00:02 CEST 2010


Marc Weber wrote:

> Hi Ludovic Courtès,
> 
> extraSystemBuilderCmds) b) extraSystemBuilderCmds
I vote for post* name.
>   commit ac78f8935877f7a2aed194bf9398b54faa4952a1
>   Author: Marc Weber <marco-oweber at gmx.de>
>   Date:   Tue Apr 27 03:40:54 2010 +0200
> 
>       adding two new options:
>       - system.copySystemConfiguration (requested by Ludovic Courtès)
>       - system.extraSystemBuilderCmds
> 
>   diff --git a/lib/from-env.nix b/lib/from-env.nix
>   index a7a339b..6bd71e4 100644
>   --- a/lib/from-env.nix
>   +++ b/lib/from-env.nix
>   @@ -1,3 +1,4 @@
>   +# TODO: remove this file. There is lib.maybeEnv now
>    name: default:
>    let value = builtins.getEnv name; in
>    if value == "" then default else value
>   diff --git a/modules/services/x11/xserver.nix
>   b/modules/services/x11/xserver.nix index e408000..68bfed8 100644
>   --- a/modules/services/x11/xserver.nix
>   +++ b/modules/services/x11/xserver.nix
>   @@ -155,7 +155,7 @@ in
>    
>          modules = mkOption {
>            default = [];
>   -        example = [ pkgs.linuxwacom ];
>   +        example = [ pkgs.xorg.xf86inputsynaptics ];
Please, do not change unrelated examples in the same commit. BTW, why not 
mention both packages here?




More information about the nix-dev mailing list