mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 21:50:55 +00:00
Mark builds from git explicitly
This commit is contained in:
parent
3b616e378a
commit
0b091e1286
|
@ -17,6 +17,6 @@ getVersion() {
|
|||
if nixpkgs=$(nix-instantiate --find-file nixpkgs "$@"); then
|
||||
getVersion $nixpkgs
|
||||
if [ -n "$rev" ]; then
|
||||
echo "pre-$rev"
|
||||
echo ".git.$rev"
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue