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)
CloudCompare no longer provides snap directory with images and .desktop
entry since they removed snap builds support.
Those files where used during the nix package build to create a .desktop
entry. Since they no longer exists the build fails.
To solve the issue, the build of the desktop entry have been replaced by
desktop entries in the package definition.
Changes: https://github.com/CloudCompare/CloudCompare/releases/tag/v2.13
Without the change build fails against `gcc-13` on `master` as
https://hydra.nixos.org/build/249808852:
In file included from /build/source/plugins/core/IO/qE57IO/extern/libE57Format/src/Common.h:40,
from /build/source/plugins/core/IO/qE57IO/extern/libE57Format/src/NodeImpl.h:30,
from /build/source/plugins/core/IO/qE57IO/extern/libE57Format/src/BlobNodeImpl.h:29,
from /build/source/plugins/core/IO/qE57IO/extern/libE57Format/src/BlobNodeImpl.cpp:28:
/build/source/plugins/core/IO/qE57IO/extern/libE57Format/include/E57Format.h:42:15: error: 'int16_t' has not been declared in 'std'
42 | using std::int16_t;
| ^~~~~~~
qRANSAC_SD plugin compilation is broken on non-x86 architectures.
Additionally, its license is not compatible with GPL (it is "for
research purposes only") so it is disabled for all architectures
instead of just non-x86.