mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-12 03:51:07 +01:00
`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. |
||
|---|---|---|
| .. | ||
| default.nix | ||
| nixpkgs-release-check-pkgs.nix | ||
| session-path.nix | ||
| session-search-variables.nix | ||
| session-variables-expected.txt | ||
| session-variables.nix | ||