depot/third_party/nixpkgs/pkgs/by-name/io/ion/build-script.patch

17 lines
No EOL
439 B
Diff

diff --git a/build.rs b/build.rs
index 9a32b7a2..77bc41bc 100644
--- a/build.rs
+++ b/build.rs
@@ -25,10 +25,9 @@ fn write_version_file() -> io::Result<()> {
let mut version_file = File::create(&version_fname)?;
write!(
&mut version_file,
- "r#\"ion {} ({})\nrev {}\"#",
+ "r#\"ion {} ({})\nrev \"#",
version,
- target,
- get_git_rev()?.trim()
+ target
)?;
Ok(())
}