Open
Description
So as to give accurate --git-version
information and unstable-${date}
nix version information, please include in the github.json
the output of git describe --tags --always
and the date of the last commit in YYYY-MM-DD
format. This way, my overrides can have the exact same content as if/when they are merged into nixpkgs.
Note that git describe --tags --always
can be slightly tricky to emulate without downloading an entire checkout, but I have some code in Scheme to do about the same if you know the tag you're based off of and then use some gitlab URL to get the count of commits... ugly, but works on gitlab (and something similar works on github). Still cheaper than cloning an unshallow checkout.
Metadata
Assignees
Labels
No labels