Allow passing in GIT_DESCRIBE/GIT_REV to avoid git repo

This should allow building inside a flake
This commit is contained in:
Kovacsics Robert
2024-11-20 11:55:53 +00:00
parent 2e3a3397a5
commit c36e72b5f6
3 changed files with 25 additions and 7 deletions
+3 -1
View File
@@ -84,7 +84,9 @@ impl Cli {
env!("TARGET_ENV"),
" ",
env!("TARGET_ARCH"),
", git rev ",
", git ",
env!("GIT_DESCRIBE"),
" rev ",
env!("GIT_REV"),
);
}