From da8369299665136f713da419a71a0fc51b2eaf32 Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Fri, 25 Oct 2019 00:54:40 +0200 Subject: [PATCH] docs: Use lib.evalModules --- docs/options.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/options.nix b/docs/options.nix index 1fc7272..3d3c484 100644 --- a/docs/options.nix +++ b/docs/options.nix @@ -1,9 +1,8 @@ { pkgs ? import ../nix {} }: let - eval = import (pkgs.path + "/nixos/lib/eval-config.nix") { - baseModules = import ../src/nix/modules.nix; - modules = []; + eval = pkgs.lib.evalModules { + modules = import ../src/nix/modules.nix; }; options = pkgs.nixosOptionsDoc { options = eval.options;