We trust the version information from `nixpkgs.source` when `pkgs` was constructed by the `nixpkgs` module or `nixpkgs.source` was explicitly set by the configuration. Otherwise, we rely on Nixpkgs to report its own version, which handles the same cases as the old logic and opens the door to Nixpkgs automatically reporting the correct revision when using flakes. |
||
|---|---|---|
| .. | ||
| defaults | ||
| activation-scripts.nix | ||
| applications.nix | ||
| checks.nix | ||
| default.nix | ||
| defaults-write.nix | ||
| etc.nix | ||
| flake-overrides.nix | ||
| keyboard.nix | ||
| launchd.nix | ||
| patches.nix | ||
| shells.nix | ||
| version.nix | ||