Describe the bug
Related to #538 and #564.
To Reproduce
Steps to reproduce the behavior:
Install the package on NixOS. I used and overlay to get the latest commit: 4de67ec
Expected behavior
Tray icon is shown.
Screenshots
Additional context
The icon is shown back when I remove the path argument from set_icon:
(final: prev: {
streamcontroller = prev.streamcontroller.overrideAttrs (oldAttrs: {
version = "unstable-2025-04-14";
src = prev.fetchFromGitHub {
owner = "StreamController";
repo = "StreamController";
rev = "4de67ec7352b0825687c0142cb8d8965724232ec";
hash = "sha256-63SffkbA8c1LOB33H8HfEebqS+lJVOClAfEo27c5x6o=";
};
postInstall =
(oldAttrs.postInstall or "")
+ ''
# Clear IconThemePath so the tray uses system icon lookup instead of
# a custom path (many tray hosts fail silently with non-empty IconThemePath)
substituteInPlace $out/usr/lib/streamcontroller/src/tray.py \
--replace-fail \
'self.set_icon("com.core447.StreamController", path=icon_theme_path)' \
'self.set_icon("com.core447.StreamController")'
'';
});
})
I am not sure if this can be fixed here or should be a permanent update in nixpkgs.
Describe the bug
Related to #538 and #564.
To Reproduce
Steps to reproduce the behavior:
Install the package on NixOS. I used and overlay to get the latest commit: 4de67ec
Expected behavior
Tray icon is shown.
Screenshots
Additional context
The icon is shown back when I remove the path argument from set_icon:
I am not sure if this can be fixed here or should be a permanent update in nixpkgs.