svn path=/nixos/branches/modular-nixos/; revision=16592

This commit is contained in:
Eelco Dolstra 2009-08-05 14:43:13 +00:00
parent 02c119a104
commit a9071b3283

View File

@ -6,8 +6,11 @@
, system ? builtins.currentSystem
, nixpkgs ? import ./from-env.nix "NIXPKGS" /etc/nixos/nixpkgs
, pkgs ? import nixpkgs {inherit system;}
, extraArgs ? {}
}:
let extraArgs_ = extraArgs; in
rec {
inherit nixpkgs pkgs;
@ -16,7 +19,7 @@ rec {
./check-config.nix
] ++ (import ../modules/module-list.nix);
extraArgs = {
extraArgs = extraArgs_ // {
inherit pkgs;
modulesPath = ../modules;
};