chore: no longer need this env var

This commit is contained in:
rvcas 2023-07-24 10:30:02 -04:00
parent d19a39239d
commit 152e847e26
No known key found for this signature in database
GPG Key ID: C09B64E263F7D68C
1 changed files with 1 additions and 4 deletions

View File

@ -65,13 +65,10 @@ fn main() -> miette::Result<()> {
}
fn version() -> String {
use std::env;
let nix_git_rev = env::var("GIT_REVISION").unwrap_or("unknown".to_string());
format!(
"v{} {}",
built_info::PKG_VERSION,
built_info::GIT_COMMIT_HASH_SHORT.unwrap_or(&nix_git_rev)
built_info::GIT_COMMIT_HASH_SHORT.unwrap_or("unknown")
)
}