This was achieved using the following command:
sd 'wrapGAppsHook\b' wrapGAppsHook3 (rg -l 'wrapGAppsHook\b')
And then manually reverted the following changes:
- alias in top-level.nix
- function name in wrap-gapps-hook.sh
- comment in postFixup of at-spi2-core
- comment in gtk4
- comment in preFixup of 1password-gui/linux.nix
- comment in postFixup of qgis/unwrapped-ltr.nix and qgis/unwrapped.nix
- comment in postFixup of telegram-desktop
- comment in postFixup of fwupd
- buildCommand of mongodb-compass
- postFixup of xflux-gui
- comment in a patch in kdePackages.kde-gtk-config and plasma5Packages.kde-gtk-config
- description of programs.sway.wrapperFeatures.gtk NixOS option (manual rebuild)
Running gpick on a system where GSettings schemas are not provided (e.g.
XMonad with no desktop environment), any attempt to save or export color
info from gpick will cause gpick to crash:
GLib-GIO-ERROR **: 19:12:55.095: No GSettings schemas are installed on the system
The nixpkgs manual describes how to fix such errors:
https://nixos.org/manual/nixpkgs/stable/#ssec-gnome-common-issues-no-schemas
Adding wrapGAppsHook to the nativeBuildInputs appears to be all that was
needed to fix the issue in this case.