[Nix-dev] trace: Str("Obsolete notation.",[])

Marco Maggesi maggesi at math.unifi.it
Fri May 1 12:50:19 CEST 2009


On Apr 30, 2009, at 11:51 PM, Nicolas Pierron wrote:

> - If you are using some function options like extraPackages with a
> "pkgs" argument following the equal symbol, then I recommend you to
> put:
>
> {pkgs, ...}:
>
> at the top of your configuration file and remove all pkgs arguments.
> This modification allow us to document the default value inside the
> generated manual.  In addition, This may help to implements a GUI for
> writing NixOS modules.

Thank you Nicolas, I put

   {pkgs,...}:

on top of my configuration.nix and I changed the line

   environment = { extraPackages = pkgs: [ pkgs.emacs ]; }

with

   environment = { extraPackages = [ pkgs.emacs ]; }

and the error disappeared.

Marco




More information about the nix-dev mailing list