We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afea0cc commit 76ec0a1Copy full SHA for 76ec0a1
crates/cli/build.rs
@@ -34,10 +34,6 @@ fn nix_injected_commit_hash() -> Option<String> {
34
}
35
36
37
-fn is_nix_build() -> bool {
38
- nix_injected_commit_hash().is_some()
39
-}
40
-
41
fn find_git_hash() -> String {
42
nix_injected_commit_hash().unwrap_or_else(|| {
43
// When we're *not* building in Nix, we can assume that git metadata is still present in the filesystem,
0 commit comments