about summary refs log tree commit diff
path: root/pkgs/build-support/usernixos/eval-config.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/build-support/usernixos/eval-config.nix')
-rw-r--r--pkgs/build-support/usernixos/eval-config.nix31
1 files changed, 0 insertions, 31 deletions
diff --git a/pkgs/build-support/usernixos/eval-config.nix b/pkgs/build-support/usernixos/eval-config.nix
deleted file mode 100644
index 300ddd2444e52..0000000000000
--- a/pkgs/build-support/usernixos/eval-config.nix
+++ /dev/null
@@ -1,31 +0,0 @@
-{ system ? builtins.currentSystem
-, pkgs ? null
-, baseModules ? import ./module-list.nix
-, extraArgs ? {}
-, modules
-}:
-
-let extraArgs_ = extraArgs; pkgs_ = pkgs; system_ = system; in
-
-rec {
-
-  # These are the NixOS modules that constitute the system configuration.
-  configComponents = modules ++ baseModules;
-
-  # Merge the option definitions in all modules, forming the full
-  # system configuration.  It's not checked for undeclared options.
-  systemModule =
-    pkgs.lib.fixMergeModules configComponents extraArgs;
-
-  optionDefinitions = systemModule.config;
-  optionDeclarations = systemModule.options;
-  inherit (systemModule) options;
-
-  # These are the extra arguments passed to every module.  In
-  # particular, Nixpkgs is passed through the "pkgs" argument.
-  extraArgs = extraArgs_ // {
-    inherit pkgs modules baseModules;
-  };
-
-  config = systemModule.config;
-}