1
0
Fork 1
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:
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