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
commit 2b6fb7ef66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 \