mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
17 lines
439 B
Diff
17 lines
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(())
|
|
}
|