biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / shells / ion / build-script.patch
blob869289289592fc24de0dbc892e5fa5cab0008123
1 --- a/build.rs
2 +++ b/build.rs
3 @@ -23,13 +23,7 @@ fn write_version_file() -> io::Result<()> {
4 let target = env::var("TARGET").unwrap();
5 let version_fname = Path::new(&env::var("OUT_DIR").unwrap()).join("version_string");
6 let mut version_file = File::create(&version_fname)?;
7 - write!(
8 - &mut version_file,
9 - "r#\"ion {} ({})\nrev {}\"#",
10 - version,
11 - target,
12 - get_git_rev()?.trim()
13 - )?;
14 + write!(&mut version_file, "r#\"ion {version} ({target})\n\"#")?;
15 Ok(())