Merge pull request #269993 from kilianar/i3status-rust-icu

i3status-rust: optional support for icu_calendar
This commit is contained in:
Mario Rodas
2023-11-26 11:30:34 -05:00
committed by GitHub
@@ -11,6 +11,7 @@
, lm_sensors
, iw
, iproute2
, withICUCalendar ? false
}:
rustPlatform.buildRustPackage rec {
@@ -34,7 +35,7 @@ rustPlatform.buildRustPackage rec {
"notmuch"
"maildir"
"pulseaudio"
];
] ++ (lib.optionals withICUCalendar [ "icu_calendar" ]);
prePatch = ''
substituteInPlace src/util.rs \