1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 20:25:28 +03:00
aports/community/starship/use-libdbus.patch
2023-01-26 20:08:52 +00:00

15 lines
667 B
Diff

Link with system libdbus instead of zbus-rs (Rust implementation).
diff --git a/Cargo.toml b/Cargo.toml
index 97b393f..89009b2 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -55,7 +55,7 @@ indexmap = { version = "1.9.2", features = ["serde"] }
log = { version = "0.4.17", features = ["std"] }
# nofity-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.6.0", optional = true }
+notify-rust = { version = "4.6.0", default-features = false, features = ["d"], optional = true }
nu-ansi-term = "0.46.0"
once_cell = "1.16.0"
open = "3.2.0"