Without the change the eval fails as:
$ nix build --no-link -f. githooks.tests
error:
… while evaluating the 'name' attribute of a derivation
… while evaluating a branch condition
at lib/strings.nix:1194:3:
1193| # First detect the common case of already valid strings, to speed those up
1194| if stringLength string <= 207 && okRegex string != null
| ^
1195| then unsafeDiscardStringContext string
… in the left operand of the AND (&&) operator
at lib/strings.nix:1194:33:
1193| # First detect the common case of already valid strings, to speed those up
1194| if stringLength string <= 207 && okRegex string != null
| ^
1195| then unsafeDiscardStringContext string
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
error: expected a set but found a string: "githooks-cli"
Add platform-independent Git hooks manager `Githooks` at version
3.0.1.Check the [Readme](https://github.com/gabyx/Githooks) for
moreinformation.
Signed-off-by: Gabriel Nützi <gnuetzi@gmail.com>
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)
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.