Commit 857ac54a authored by kilianar's avatar kilianar
Browse files

i3status-rust: optional icu_calendar support

Recently, upstream has incorporated support for non-Gregorian calendars
using the icu_calendar crate. To manage the substantial increase in
binary size caused by this addition, upstream has made this feature
flag optional. In line with this decision, this commit introduces the
withICUCalendar option, set to a default value of false.
parent 652728a7
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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 \