3
0
Fork 0
forked from mirrors/nixpkgs

* Remove "obsolete" notation.

svn path=/nixos/trunk/; revision=12557
This commit is contained in:
Eelco Dolstra 2008-08-08 19:40:19 +00:00
parent a662f1c473
commit 1c2d81d93d
2 changed files with 4 additions and 4 deletions

View file

@ -18,9 +18,9 @@ rec {
# The label used to identify the installation CD.
rootLabel = "NIXOS";
extraTTYs = [7 8]; # manual, rogue
extraModulePackages = pkgs: [system.kernelPackages.aufs];
extraModulePackages = [system.kernelPackages.aufs];
kernelPackages = pkgs: pkgs.kernelPackages_2_6_25;
kernelPackages = pkgs.kernelPackages_2_6_25;
initrd = {
extraKernelModules = [
@ -172,7 +172,7 @@ rec {
};
environment = {
extraPackages = pkgs: [
extraPackages = [
pkgs.vim
pkgs.subversion # for nixos-checkout
pkgs.w3m # needed for the manual anyway

View file

@ -16,7 +16,7 @@ let
# backward here means that expression could either be a value or a
# function which expects to have a pkgs argument.
optionalPkgs = name: x:
if __isFunction x
if builtins.isFunction x
then obsolete "notation" (name: x pkgs) name
else x;