Change:
<del> { lib , stdenv , fetchFromGitHub , substituteAll , meson , ninja , pkg-config , wrapGAppsHook3 , desktop-file-utils , libcanberra , gst_all_1 , vala , gtk3 , gom , sqlite , libxml2 , glib , gobject-introspection , json-glib , libpeas , gsettings-desktop-schemas , gettext </del> <ins> { lib, stdenv, fetchFromGitHub, substituteAll, meson, ninja, pkg-config, wrapGAppsHook3, desktop-file-utils, libcanberra, gst_all_1, vala, gtk3, gom, sqlite, libxml2, glib, gobject-introspection, json-glib, libpeas, gsettings-desktop-schemas, gettext, </ins> }: stdenv.mkDerivation rec { pname = "gnome-pomodoro"; <del> version = "0.24.1"; </del> <ins> version = "0.26.0"; </ins> src = fetchFromGitHub { owner = pname; repo = pname; rev = version; <del> hash = "sha256-Ml3znMz1Q9593rMgfAST8k9QglxMG9ocFD7W8kaFWCw="; </del> <ins> hash = "sha256-icyS/K6H90/DWYvqJ7f7XXTTuIwLea3k+vDDEBYil6o="; </ins> }; patches = [

Discussion:
Package name: gnome-pomodoro Latest released version: 0.25.1 <!-- Search your package here: --- Current version on the unstable channel: 0.24.1 Current version on the stable/release channel: 0.24.1 <!-- 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! --- Notify maintainers - I saw that you merged the last update from a bot <!-- If the result shows no maintainers, tag the person that last updated the package. --The current version's main app still works but the extension component is broken on gnome 46.1. I tried simply doing the version bump with the following overlay: But the build fails because its unable to patch meson-post- I'm not sure if there's something wrong with my overlay or something that needs to be changed about the patch script. Would this happen if something changed upstream? Thanks! Note for maintainers: Please tag this issue in your PR. Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
It does indeed seem like the meson-post- script was removed in this commit: I'll try to modify the patch accordingly so it doesn't try to edit a non-existent file and make a PR if it works. If it doesn't though, I think I'd need some guidance as I'm not entirely sure of the reasons behind the changes in the patch.
On FHS dustros, package manager typically recompiles global file on installation. Since we want Nix packages to work without installation, we compile the file for each package during package build. But to avoid multiple packagesʼ schenas colliding when to created symlink tree, we use different directory per package (path contains derivation name). The purpose of the patch is to facilitate this. Normally, the move is handled automatically by ʼs setup hook in , but since the project hardcodes the schema path and knows nothing about our convention, we need to patch it (we do that in the part of the patch). Changing the install directory in is not strictly necessary, as the aforementioned setup hook can handle that later.

In fact, it should be removed since the function that replaces the script does not support our convention either.
Any update on this? gnome.pomodoro is currently broken on the latest NixOS (due to GNOME 46). Thank you.
I haven't really had time to take a crack at it since the initial bug report since I started a new job and have been using my Gnome install very little. If you'd like to try your hand at fixing it and report back, please let me know! I have roughly zero packaging experience so it'll be a lot of trial end error if I were to attempt a fix.
So I've made a few more attempts over the months trying to get it myself but just haven't been successful, likely due to my relative lack of Gnome and Nix development experience. In the time since I made this issue, the current version has bumped up to v0.26.0. My current progress is as follows: Currently, this commit still fails to build, as glib-compile-schemas attempts to open the glib-2.0/schemas folder, but it is not found. The full output log can be found here: I'm not sure if this is due to the package's own or if this happens in one of the glib hooks. I also tried simply removing the patch to see if the nix-specific glib hooks would pick up the schemas and put them in the right place, but unfortunately the extension part cannot be enabled on a package built this way. On v25.2, I had a different issue, where the glibPreFixupHook would attempt to mv the schemas folder to its nix location, but the operation would fail as there was already a subfolder with the same name that mv refused to overwrite. I tried temporarily disabling or editing the hook to see if that would help, but I didn't know enough nix to make it work. Should I try disabling the updated meson.post_install() call to compile schemas and just patch in a manual schema compilation? Is there some tool in the nix glib library that I'm missing? I'm at a loss - sorry to ping but any advice would be greatly appreciated!
I finally figured out a fix and have opened a PR.

It should hopefully be merged soon, but otherwise you should be able to add the changes to your local nix environment early if you've been missing the package.
Thank you for your effort!