`lib` comes from the Nixpkgs used to instantiate Home Manager itself and cannot change within the module fixpoint. However, `pkgs` is configurable (via `nixpkgs.*` or `_module.args`) and may come from a different Nixpkgs instance from the one providing `lib`. Mismatches between Home Manager's release and the release of the `pkgs` instance are more common and also more likely to cause subtle issues. This change extends the release check to include `pkgs.lib.trivial.release` so that such mismatches can be detected and reported.
6 lines
234 B
Nix
6 lines
234 B
Nix
{
|
|
home-session-path = ./session-path.nix;
|
|
home-session-search-variables = ./session-search-variables.nix;
|
|
home-session-variables = ./session-variables.nix;
|
|
home-nixpkgs-release-check-pkgs = ./nixpkgs-release-check-pkgs.nix;
|
|
}
|