Files
nixpkgs/pkgs/by-name/un/uni-sync/ignore_read-only_filesystem.patch
Hleb Shauchenka 914759978b uni-sync: 0.2.0 -> 0.3.1
Use `finalAttrs` instead of `rec`

Co-authored-by: yunfachi <yunfachi@gmail.com>
2025-09-24 20:41:42 +02:00

14 lines
472 B
Diff

diff --git a/src/main.rs b/src/main.rs
index f07cc64..357a33b 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -46,7 +46,7 @@ fn main() -> Result<(), std::io::Error> {
configs = serde_json::from_str::<devices::Configs>(&config_content)?;
let new_configs = devices::run(configs);
- std::fs::write(&config_path, serde_json::to_string_pretty(&new_configs)?)?;
+ let _ = std::fs::write(&config_path, serde_json::to_string_pretty(&new_configs)?);
Ok(())
}