diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2021-10-04 18:27:57 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2021-10-19 16:56:07 +0200 |
commit | dc017a0cab40cb2f33a01b420bb1b04038abb875 (patch) | |
tree | 239b6a9245b842a4daaceead93b71d8ddbeab498 /src/garage/admin_rpc.rs | |
parent | 1acf7e4c66aab0a0b5bcce8eb2965b35d587dd2a (diff) | |
download | garage-dc017a0cab40cb2f33a01b420bb1b04038abb875.tar.gz garage-dc017a0cab40cb2f33a01b420bb1b04038abb875.zip |
Build Garage with Nixfeature/static
Diffstat (limited to 'src/garage/admin_rpc.rs')
-rw-r--r-- | src/garage/admin_rpc.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/garage/admin_rpc.rs b/src/garage/admin_rpc.rs index 19cba3b6..fe5a9d88 100644 --- a/src/garage/admin_rpc.rs +++ b/src/garage/admin_rpc.rs @@ -423,11 +423,11 @@ impl AdminRpcHandler { writeln!( &mut ret, "\nGarage version: {}", - git_version::git_version!( + option_env!("GIT_VERSION").unwrap_or(git_version::git_version!( prefix = "git:", cargo_prefix = "cargo:", fallback = "unknown" - ) + )) ) .unwrap(); |