mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 12:42:24 +00:00
0b9d9eded1
Let's first try if we can determine the Git revision from the .git
directory and if that fails, fall back to get the info from the
".git-revision" file... and after that use something generic like
"master".
This should address #17218 in better way, because we don't need to
create another redundant file in the source checkout of nixpkgs.
I'm not going to route of falling back to using .git, because after
|
||
---|---|---|
.. | ||
assertions.nix | ||
crashdump.nix | ||
extra-arguments.nix | ||
ids.nix | ||
lib.nix | ||
locate.nix | ||
meta.nix | ||
nixpkgs.nix | ||
passthru.nix | ||
version.nix |