From e58dde1be08cf7fbac7299e928b6d0e143edbec9 Mon Sep 17 00:00:00 2001 From: Zhaofeng Li Date: Tue, 25 Jan 2022 14:22:26 -0800 Subject: [PATCH] eval.nix: Don't override modulesPath `eval-config.nix` will set the canonical path for us that will then be used to strip the module path prefixes in `nixos/modules/misc/documentation.nix` [1]. This should fix split docs build problems described in #50. [1] https://github.com/NixOS/nixpkgs/blob/1511e72b75b49cdeeee68def0c203f997d01bafa/nixos/modules/misc/documentation.nix#L79 --- src/nix/hive/eval.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/src/nix/hive/eval.nix b/src/nix/hive/eval.nix index 4088a4c..2c89d6f 100644 --- a/src/nix/hive/eval.nix +++ b/src/nix/hive/eval.nix @@ -472,7 +472,6 @@ let specialArgs = hive.meta.specialArgs // { inherit name; nodes = uncheckedNodes; - modulesPath = npkgs.path + "/nixos/modules"; }; };