* Fix description.

svn path=/nixos/trunk/; revision=29022
This commit is contained in:
Eelco Dolstra 2011-09-05 09:46:14 +00:00
parent 6669cf61f4
commit 5813e99fb3

View File

@ -32,20 +32,25 @@ in
nixpkgs.config = pkgs.lib.mkOption { nixpkgs.config = pkgs.lib.mkOption {
default = {}; default = {};
example = { example =
firefox.enableGeckoMediaPlayer = true; ''
}; { firefox.enableGeckoMediaPlayer = true;
packageOverrides = pkgs: {
firefox60Pkgs = pkgs.firefox60Pkgs.override {
enableOfficialBranding = true;
};
};
}
'';
type = configType; type = configType;
description = '' description = ''
The configuration of the Nix Packages collection. This expression The configuration of the Nix Packages collection. (For
defines default value of attributes and allow packages to be details, see the Nixpkgs documentation.) It allows you to set
overriden globally via the `packageOverrides'. package configuration options, and to override packages
globally through the <varname>packageOverrides</varname>
the `packageOverrides' configuration option must be a set of new or option. The latter is a function that takes as an argument
overriden packages. Any occurence of `pkgs' inside this attribute the <emphasis>original</emphasis> Nixpkgs, and must evaluate
set refers to the *original* (un-overriden) set of packages, to a set of new or overriden packages.
allowing packageOverrides attributes to refer to the original
attributes (e.g. "packageOverrides.foo = ... pkgs.foo ...").
''; '';
}; };