Change:
<!-- Note that these are hard requirements --<!-- You can use the "Go to file" functionality on github to find the package Then you can go to the history for this package Find the latest "packagename: oldversion -newversion" commit The "newversion" is the the current version of the package --- <!-- Type the name of your package and try to find an open pull request for the package If you find an open pull request, you can review it! There's a high chance that you'll have the new version right away while helping the community! --- name: stretchly <!-- The current version can be found easily with the same process than above for checking the master branch If an open PR is present for the package, take this version as the current one and link to the PR --current version: 1.2.0 desired version: 1.5.0 <!-- Search your package here: If no maintainer is listed for your package, tag the person that last updated the package --maintainers: I have tried to update this myself by simply changing the version number and hash, but I get the following error on running : There have been various updates to stretchly between 1.2.0 and 1.5.0 (e.g. one minor but annoying issue fixed after 1.2.0 is described at ) Please tag this issue in your PR.
Thanks , (Edit: it still doesn't quite work, see below). Nice to see how few changes are needed to make it work. Thanks for the quick response!
Thanks for the help so far, but actually, it still doesn't quite work as expected The main issue is that the icon doesn't appear anymore (the Stretchly UI is missing). This might be related to and . I am not sure. A .electron-wrapp process does appear to stay running after running . It would be nice to have this fixed please - but no pressure, it's really not critical I've tried a bit myself, but am mostly making wild guesses, happy to learn from what you might do though. If I run I now get the following:
was it working in v1.2.0? Do you use GNOME, what tray extension do you use? I've had these problems right from the start (no tray icon), but I don't use a tray extension - other than that, it's been working ok - other people reported that tray icon works fine for them, so I didn't dig any deeper than I needed to (core functionality was working and I haven't had the time). Testing both old and new versions with seems to work fine. So, does this sound familiar? Is this the problem you're currently facing (stretchly running, no tray icon / UI available)? What about running ?
Firstly, thanks for your help on this relatively minor issue Yes, the tray icon and associated UI work for me in v1.2.0 Yes, I'm using GNOME 3.36.5 with the defaults that come with 20.09 (which is Wayland too as far as I'm aware). For tray extension I use (usually from nixpkgs-unstable but I also tried 20.09) and it appears in the Extensions list as "KStatusNotifierItem/AppIndicator Support". Fair enough, though I do find it useful to be able to click "Pause Breaks" x hours in particular. And for settings tweaks, I realise modifying the file is not too bad but the UI for some settings is nice too. By this ^ do you mean the icon was working with 1.5.0? I tried the following (as I'm usually on nixpkgs-unstable) ( is the HEAD of nixos-20.09 as of now): Yes, stretchly is running but no tray icon is available. It still does not show the icon . It does show the UI the first time it runs (to choose language etc) but after that is done and closed there is no UI or icon.
Appreciate it :). It's far from ideal and although I don't use tray, I agree that the tray icon should work as it is generally very useful for the majority of people. Huh, me too (GNOME 3.36.5 + Wayland). I'm running latest stable though I've even tried the latest unstable, works fine there, too: Yes. Using the very same extension (enabled through ) on stable works for me (for both 1.2.0 and 1.5.0). Alright, works the same for me. I thought there might have been some local differences there. Moreover, I looked at but building the app with in doesn't seem to alter the behavior and it seems that is needed only for Unity (as stated in lib description). Have you tried to build and install a version with (though I doubt this will help, the problem is most likely elsewhere)? I'm sorry, I've tried everything I could think of but I can't seem to reproduce the issue on current stable nor unstable.
Ah wait, did you really mean ? I've only tried latest . Have you tried rebuilding your system? AFAIK there are only few packages being tested and there's broken stuff all over the place in so I'm wondering whether that may cause some issues.
Thanks - I can’t now but I’ll have another look next week.
Right, I'll close this issue since Stretchly has been updated (and a new version just came out ). Please try testing it with more stable channel or with the suggestion above. If the problem persists, please, do open a new issue and we'll try to take it from there!
It works . I am now on (I used to be on for and for ). I have Stretchly 1.6.0 running with the icon and UI available. I'm not sure what the issue I was encountering was but it is resolved now. (I just tried with 1.6.0 directly, not 1.5.0). Thanks for your help!
Happy to help!

Discussion:
, lib , fetchurl , makeWrapper <del> , electron_9 </del> <ins> , electron </ins> , common-updater-scripts , writeShellScript , jq , makeDesktopItem }: <del> let electron = electron_9; in </del> stdenv.mkDerivation rec { pname = "stretchly"; <del> version = "1.2.0"; </del> <ins> version = "1.5.0"; </ins> src = fetchurl { url = "https://github.com/hovancik/stretchly/releases/download/v${version}/stretchly-${version}.tar.xz"; <del> sha256 = "07v9yk9qgya9ladfgbfkwwnbzvczs1cv6yn3zrg9rviyv8zlqjls"; </del> <ins> sha256 = "19czwmwqsn82zdzln9zqqyl9sb3dm95gp58dqn1459gyinkzpvda"; </ins> }; icon = fetchurl {