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.
This commit is contained in:
David Arnold 2021-01-10 20:10:59 -05:00 committed by GitHub
parent d0fe508da2
commit 7fb5967735
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -41,7 +41,8 @@ in
};
unstablePkgs = pkgImport {
inherit system overlays;
inherit system;
overlays = [];
pkgs = master;
};
};