Rename option: services.xserver.packageFun -> .package

svn path=/nixos/trunk/; revision=12553
This commit is contained in:
Nicolas Pierron 2008-08-08 18:57:11 +00:00
parent 3fd58f8a03
commit 2e9dc1ea47
2 changed files with 7 additions and 2 deletions

View file

@ -1417,7 +1417,12 @@ in
packageFun = mkOption {
default = pkgs.xorg;
merge = backwardPkgsFunMerge;
merge = obsolete "option" backwardPkgsFunMerge;
description = "Obsolete: use 'package' instead.";
};
package = mkOption {
default = config.services.xserver.packageFun; # pkgs.xorg;
description = "
Alternative X.org package to use. For
example, you can replace individual drivers.

View file

@ -10,7 +10,7 @@ let
# Abbreviations.
cfg = config.services.xserver;
xorg = cfg.packageFun;
xorg = cfg.package;
gnome = pkgs.gnome;
stdenv = pkgs.stdenv;