aports/community/starship/use-libdbus.patch
Hoang Nguyen 6d5d952f7c community/starship: upgrade to 1.14.2 and enable on riscv64
* Build with default features.
* Enable on riscv64 (zlib-ng is present in the repo now)
2023-05-08 17:27:41 +00:00

16 lines
667 B
Diff

Link with system libdbus instead of zbus-rs (Rust implementation).
diff --git a/Cargo.toml b/Cargo.toml
index dcd52cd..8f62b2c 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -55,7 +55,7 @@ indexmap = { version = "1.9.3", features = ["serde"] }
log = { version = "0.4.17", features = ["std"] }
# notify-rust is optional (on by default) because the crate doesn't currently build for darwin with nix
# see: https://github.com/NixOS/nixpkgs/issues/160876
-notify-rust = { version = "4.8.0", optional = true }
+notify-rust = { version = "4.8.0", default-features = false, features = ["d"], optional = true }
nu-ansi-term = "0.47.0"
once_cell = "1.17.1"
open = "4.0.1"