Change:
After upgrading to eww 0.6.0 from unstable I've got problems showing some strings in some of my widgets, one that shows the hour and another the minutes using two digits each one, i.e. : "09 : 10". When using eww 0.6.0 the string shown is like this: "... : ..." In eww's github repo I can see that there is a commit after version 0.6.0: And cloning eww repo with that commit, compiling it and using a local eww executable the problem explained before disappears for me. There's also another problem, asking eww-0.6.0 for version number shows it's 0.5.0: unstable eww 0.6.0 some string truncation (I think this is the problem) see "..." where a two char string with the hour should appear. eww should work as expected. Cloning eww repo with latest commit after v0.6.0 was published solves the problem for me.
~The current package for eww is . How did you install 0.6.0 from nixpkgs?~ ~As for the outdated 0.5.0 version in nixpkgs, there are three maintainers for eww in nixpkgs so it probably will be updated shortly, perhaps fetching a commit with the solution to the string truncation problem you describe.~ EDIT: i was wrong, see comment below.
I got it installed today from unstable when upgrading my system: But, as you say, if I look for it into unstable () it shows version 0.5.0...I can't understand very well this...I'm relatively new to nixos. Ok, I'll wait then. Thanks for your interest in this.
Oh sorry, you're right! There is eww 0.6.0 in master, although it didn't make it into unstable yet. I built the package and, indeed, truncation is broken the version is incorrectly reported So the truncation was fixed, as you mention, after the release, and the reported version . That . If you can't wait, for it, i'd recommend you use the package output from the eww flake. I personally have been using it for a while and it works correctly (let me know if you need help, i'm on the matrix server with the same username). For now, I guess this issue can be closed because both are upstream bugs and the fixes will make it into a future release.
I think I we can backport the changes using patches. I'll send a PR.
Still I don't know how this 0.6.0 version was pulled from unstable into my system...I'm in my way learning nixos. Flakes! my never ending story :). I'll try to use it and if I have problems I'll try to ping you on the matrix server. Thx!
Since 0.6.0 reached unstable, of course, and you updated your channels/inputs. BTW the search can be out-of-date, so don't expect 100% accuracy from it.
Yep, that makes sense to me and seems to be the missing piece that confused me: how could it be possible that in the search appeared version 0.5 and I had installed v 0.6. thanks for clarifying it for me and for your work in Nixos.

Discussion:
rustPlatform.buildRustPackage rec { pname = "eww"; <del> version = "0.6.0"; </del> <ins> version = "0.6.0-unstable-2024-04-26"; </ins> src = fetchFromGitHub { owner = "elkowar"; repo = "eww"; <del> rev = "refs/tags/v${version}"; hash = "sha256-rzDnplFJNiHe+XbxbhZMEhPJMiJsmdVqtZxlxhzzpTk="; </del> <ins> # FIXME: change to a release tag once a new release is available # https://github.com/elkowar/eww/pull/1084 # using the revision to fix string truncation issue in eww config rev = "2c8811512460ce6cc75e021d8d081813647699dc"; hash = "sha256-eDOg5Ink3iWT/B1WpD9po5/UxS4DEaVO4NPIRyjSheM="; </ins> }; <del> cargoHash = "sha256-n9nd5E/VO+0BgkhrfQpeihlIkoVQRf6CMiPCK5opvvw="; </del> <ins> cargoHash = "sha256-ClnIW7HxbQcC85OyoMhBLFjVtdEUCOARuimfS4uRi+E="; </ins> <del> nativeBuildInputs = [ pkg-config wrapGAppsHook3 ]; </del> <ins> nativeBuildInputs = [ pkg-config wrapGAppsHook3 ]; </ins> buildInputs = [ gtk3

librsvg ]; <del> cargoBuildFlags = [ "--bin" "eww" ]; </del> <ins> cargoBuildFlags = [ "--bin" "eww" ]; </ins> cargoTestFlags = cargoBuildFlags;

RUSTC_BOOTSTRAP = 1; meta = { <del> description = "ElKowars wacky widgets"; </del> <ins> description = "A widget system made in Rust to create widgets for any WM"; longDescription = '' Eww (ElKowar's Wacky Widgets) is a widget system made in Rust which lets you create your own widgets similarly to how you can in AwesomeWM. The key difference: It is independent of your window manager! It can be configured in yuck and themed using CSS, is very easy to customize and provides all the flexibility you need! ''; </ins> homepage = "https://github.com/elkowar/eww"; license = lib.licenses.mit; <del> maintainers = with lib.maintainers; [ coffeeispower eclairevoyant figsoda lom w-lfchen ]; </del> <ins> maintainers = with lib.maintainers; [ coffeeispower eclairevoyant figsoda lom w-lfchen ]; </ins> mainProgram = "eww"; broken = stdenv.isDarwin; };