diff options
author | Robert Hensing <robert@roberthensing.nl> | 2022-01-07 01:34:30 +0100 |
---|---|---|
committer | Robert Hensing <robert@roberthensing.nl> | 2022-01-10 12:36:57 +0100 |
commit | 3168017b90440220c69d4ba8f39f469024b4cafe (patch) | |
tree | 97596eb616f4b2a89da0fcc460a3ea47d1cb9599 /nixos/lib/eval-config-minimal.nix | |
parent | d3f956aba324a18bfafde59138929b320a9b4a2b (diff) |
nixos/lib: Clarify that nixos.evalModules impl is NOT experimental
Diffstat (limited to 'nixos/lib/eval-config-minimal.nix')
-rw-r--r-- | nixos/lib/eval-config-minimal.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/nixos/lib/eval-config-minimal.nix b/nixos/lib/eval-config-minimal.nix index ed26e623b2f1c..d45b9ffd42618 100644 --- a/nixos/lib/eval-config-minimal.nix +++ b/nixos/lib/eval-config-minimal.nix @@ -31,7 +31,12 @@ let prefix ? [], modules ? [], specialArgs ? {}, - }: lib.evalModules { + }: + # NOTE: Regular NixOS currently does use this function! Don't break it! + # Ideally we don't diverge, unless we learn that we should. + # In other words, only the public interface of nixos.evalModules + # is experimental. + lib.evalModules { inherit prefix modules; specialArgs = { modulesPath = builtins.toString ../modules; |