From 58e6ca77d92d400c23609a27462547438b1122a5 Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Sun, 16 Aug 2020 10:15:15 +0200 Subject: [PATCH] documentation: Don't set localSystem which doesn't exist This is safe to remove, because it is not referenced anywhere in nix-darwin. It should have been discovered way earlier, but a bug in the module system has allowed this value to be defined until https://github.com/NixOS/nixpkgs/commit/fd75dc876586bde8cdb683a6952a41132e8db166 --- modules/documentation/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/documentation/default.nix b/modules/documentation/default.nix index 18dc1b1..34a75ca 100644 --- a/modules/documentation/default.nix +++ b/modules/documentation/default.nix @@ -17,7 +17,7 @@ let options = let scrubbedEval = evalModules { - modules = [ { nixpkgs.localSystem = config.nixpkgs.localSystem; } ] ++ baseModules; + modules = baseModules; args = (config._module.args) // { modules = [ ]; }; specialArgs = { pkgs = scrubDerivations "pkgs" pkgs; }; };