From 7fb59677357b1f1ad6ab46e4c9ff45e61a854950 Mon Sep 17 00:00:00 2001 From: David Arnold Date: Sun, 10 Jan 2021 20:10:59 -0500 Subject: [PATCH] Don't evaluate overlays on master master is only used in the context of `pkgs/override.nix` and `unstableModulesPath` and only within `./hosts` Since overlays exists that are incompatible between nixos and master at evaluation time (sic!), this together with #77 avoids evaluating overlays against master all together. --- lib/utils.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/utils.nix b/lib/utils.nix index 6a4e254..7980636 100644 --- a/lib/utils.nix +++ b/lib/utils.nix @@ -41,7 +41,8 @@ in }; unstablePkgs = pkgImport { - inherit system overlays; + inherit system; + overlays = []; pkgs = master; }; };