aports/community/starship/use-libdbus.patch
2024-07-23 19:56:49 +00:00

16 lines
669 B
Diff

Link with system libdbus instead of zbus-rs (Rust implementation).
diff --git a/Cargo.toml b/Cargo.toml
index ea36bc0..0f115a8 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -55,7 +55,7 @@ indexmap = { version = "2.2.6", features = ["serde"] }
log = { version = "0.4.21", 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.11.0", optional = true }
+notify-rust = { version = "4.11.0", default-features = false, features = ["d"], optional = true }
nu-ansi-term = "0.50.0"
once_cell = "1.19.0"
open = "5.1.2"