[GH-ISSUE #1139] Failure to create Music module #8778

Closed
opened 2026-05-23 03:54:16 +01:00 by JakeStanger · 1 comment
Owner

Originally created by @bandithedoge on GitHub (Sep 4, 2025).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/1139

Describe the bug

2025-09-04T19:44:40.501835Z ERROR ironbar::bar: 427: failed to create module Music:
   0: \x1b[91mregex parse error:
          \{([\w-]+)}
              ^^
      error: Unicode-aware Perl class not found (make sure the unicode-perl feature is enabled)\x1b[0m

Location:
   \x1b[35msrc/modules/music/mod.rs\x1b[0m:\x1b[35m107\x1b[0m

Probably https://lib.rs/crates/regex/features#feature-unicode-perl needs to be enabled.

To reproduce
Steps to reproduce the behavior:

  1. Add module music
  2. Run ironbar

Expected behavior

System information:

  • Distro: NixOS unstable
  • Compositor: Niri
  • Ironbar version: master

Configuration

Config
programs.ironbar = {
  enable = true;
  config = {
    # ...
    end = [{
      type = "music";
      player_type = "mpd";
      format = "{artist} – {title}";
    }];
    # ...
  };
};
Originally created by @bandithedoge on GitHub (Sep 4, 2025). Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/1139 **Describe the bug** ``` 2025-09-04T19:44:40.501835Z ERROR ironbar::bar: 427: failed to create module Music: 0: \x1b[91mregex parse error: \{([\w-]+)} ^^ error: Unicode-aware Perl class not found (make sure the unicode-perl feature is enabled)\x1b[0m Location: \x1b[35msrc/modules/music/mod.rs\x1b[0m:\x1b[35m107\x1b[0m ``` Probably https://lib.rs/crates/regex/features#feature-unicode-perl needs to be enabled. **To reproduce** Steps to reproduce the behavior: 1. Add module `music` 2. Run `ironbar` **Expected behavior** <!-- A clear and concise description of what you expected to happen. --> **System information:** - Distro: NixOS unstable - Compositor: Niri - Ironbar version: master **Configuration** <!-- Share your bar configuration and stylesheet as applicable: --> <details><summary>Config</summary> ```nix programs.ironbar = { enable = true; config = { # ... end = [{ type = "music"; player_type = "mpd"; format = "{artist} – {title}"; }]; # ... }; }; ``` </details>
JakeStanger 2026-05-23 03:54:16 +01:00
Author
Owner

@JakeStanger commented on GitHub (Sep 5, 2025):

No idea why you're experiencing that and it's not been reported elsewhere, unless the regex crate features changed recently, but on review there's no reason for the module to depend on regex at all. Will have a fix shortly.

<!-- gh-comment-id:3259824155 --> @JakeStanger commented on GitHub (Sep 5, 2025): No idea why you're experiencing that and it's not been reported elsewhere, unless the regex crate features changed recently, but on review there's no reason for the module to depend on regex at all. Will have a fix shortly.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
JakeStanger/ironbar#8778
No description provided.