Browse Source

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

nsd-state-dir
Eelco Dolstra 14 years ago
parent
commit
a9071b3283
  1. 5
      lib/eval-config.nix

5
lib/eval-config.nix

@ -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;
};

Loading…
Cancel
Save