Mark builds from git explicitly

This commit is contained in:
Eelco Dolstra 2014-05-01 15:04:37 +02:00
parent 3b616e378a
commit 0b091e1286

View File

@ -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