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)
Since b2f9cd34e7 ("gobject-introspection: use wrapper.nix for the
native package too so we can propagate the dev output"),
gobject-introspection doesn't need to be included in buildInputs when
it's in nativeBuildInputs, as it's propagated from the setup hook.
Removing the build input fixes evaluation in buildPackages when
cross-compiling to platforms that gobject-introspection is unsupported
on, like ghcjs.
Tested building natively on x86_64-linux, in
pkgsCross.aarch64-multiplatform, and in pkgsCross.ghcjs.buildPackages.
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
`udiskie` breaks for me with the following error when using 1.7.4:
```
Traceback (most recent call last):
File "/nix/store/cqa72mqgm5gi0xpqp5r8csdizv3p3ajr-udiskie-1.7.4/lib/python3.6/site-packages/udiskie/cli.py", line 307, in _start_async_tasks
results = yield self._init()
File "/nix/store/cqa72mqgm5gi0xpqp5r8csdizv3p3ajr-udiskie-1.7.4/lib/python3.6/site-packages/udiskie/cli.py", line 495, in _init
tasks.append(Async())
NameError: name 'Async' is not defined
```
The error has been confirmed by the Debian issue tracker, so it's
obviously not related to NixOS.
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=899419 for further
reference.
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/udiskie/versions.
These checks were done:
- built on NixOS
- /nix/store/y1i5v63y71myq5wcb6dyzb9g2snryf69-udiskie-1.7.4/bin/udiskie passed the binary check.
- /nix/store/y1i5v63y71myq5wcb6dyzb9g2snryf69-udiskie-1.7.4/bin/udiskie-info passed the binary check.
- /nix/store/y1i5v63y71myq5wcb6dyzb9g2snryf69-udiskie-1.7.4/bin/udiskie-mount passed the binary check.
- /nix/store/y1i5v63y71myq5wcb6dyzb9g2snryf69-udiskie-1.7.4/bin/udiskie-umount passed the binary check.
- /nix/store/y1i5v63y71myq5wcb6dyzb9g2snryf69-udiskie-1.7.4/bin/..udiskie-wrapped-wrapped passed the binary check.
- /nix/store/y1i5v63y71myq5wcb6dyzb9g2snryf69-udiskie-1.7.4/bin/.udiskie-wrapped passed the binary check.
- /nix/store/y1i5v63y71myq5wcb6dyzb9g2snryf69-udiskie-1.7.4/bin/..udiskie-info-wrapped-wrapped passed the binary check.
- /nix/store/y1i5v63y71myq5wcb6dyzb9g2snryf69-udiskie-1.7.4/bin/.udiskie-info-wrapped passed the binary check.
- /nix/store/y1i5v63y71myq5wcb6dyzb9g2snryf69-udiskie-1.7.4/bin/..udiskie-mount-wrapped-wrapped passed the binary check.
- /nix/store/y1i5v63y71myq5wcb6dyzb9g2snryf69-udiskie-1.7.4/bin/.udiskie-mount-wrapped passed the binary check.
- /nix/store/y1i5v63y71myq5wcb6dyzb9g2snryf69-udiskie-1.7.4/bin/..udiskie-umount-wrapped-wrapped passed the binary check.
- /nix/store/y1i5v63y71myq5wcb6dyzb9g2snryf69-udiskie-1.7.4/bin/.udiskie-umount-wrapped passed the binary check.
- 12 of 12 passed binary check by having a zero exit code.
- 12 of 12 passed binary check by having the new version present in output.
- found 1.7.4 with grep in /nix/store/y1i5v63y71myq5wcb6dyzb9g2snryf69-udiskie-1.7.4
- directory tree listing: https://gist.github.com/b8c058b519fdc73cbd6a8b7062bb7dea
- du listing: https://gist.github.com/befb311e40dbd18617e2b11abb41bf1e
Udiskie uses SVG icons for its tray icon. In order to load these,
librsvg needs to be included in the $GDK_PIXBUF_MODULE_FILE(loaders.cache).
Without librsvg, gdk does not support SVG images so the icons won't be
used.
If we add librsvg to buildInputs, the wrapGAppsHook will make sure that
the librsvg is included in the $GDK_PIXBUF_MODULE_FILE.