Files
nixpkgs/pkgs/by-name/ox/oxide-rs/rm-built-ref-head-lookup.patch
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

18 lines
600 B
Diff

diff --git a/cli/build.rs b/cli/build.rs
index adba6cf..a7a2a53 100644
--- a/cli/build.rs
+++ b/cli/build.rs
@@ -5,12 +5,5 @@
// Copyright 2023 Oxide Computer Company
fn main() {
- let src = std::env::var("CARGO_MANIFEST_DIR").unwrap();
- match built::util::get_repo_head(src.as_ref()) {
- Ok(Some((_branch, _commit, _commit_short))) => (),
- Ok(None) => panic!("Error: Build script could not find git commit information"),
- Err(e) => panic!("Build script error: {}", e),
- };
-
built::write_built_file().expect("Failed to acquire build-time information");
}