Skip to content

Commit

Permalink
chore: no longer need this env var
Browse files Browse the repository at this point in the history
  • Loading branch information
rvcas committed Jul 24, 2023
1 parent d19a392 commit 152e847
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions crates/aiken/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")
)
}

Expand Down

0 comments on commit 152e847

Please sign in to comment.