summaryrefslogtreecommitdiff
path: root/eval-config.nix
diff options
context:
space:
mode:
authorEmily <vcs@emily.moe>2023-07-07 09:02:38 +0100
committerEmily <vcs@emily.moe>2023-07-09 07:26:23 +0100
commit51ba5e614acf1c94d519e6047814219082827faa (patch)
tree4cf52aa43eaedc0874949b3d7c06179a21932961 /eval-config.nix
parent72b7e8668c24950b8300ffe3d135dad1ae72a4f5 (diff)
version: rewrite Git revision logic
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.
Diffstat (limited to 'eval-config.nix')
0 files changed, 0 insertions, 0 deletions