After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.
Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.
A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.
This commit was automatically created and can be verified using
nix-build a08b3a4d19.tar.gz \
--argstr baseRev b32a094368
result/bin/apply-formatting $NIXPKGS_PATH
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)
This is introduced in generate_categories -> matemenu_tree_constructor ->
org.mate.panel. Unfortunately we cannot hardcode gsettings in mate-menus
because this will introduce circular dependency.
https://bugs.archlinux.org/task/72603
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/mate-control-center/versions.
These checks were done:
- built on NixOS
- Warning: no invocation of /nix/store/9pj65djh4jdx8xc2c9m2s4jsji9g27fz-mate-control-center-1.20.3/bin/mate-at-properties had a zero exit code or showed the expected version
- /nix/store/9pj65djh4jdx8xc2c9m2s4jsji9g27fz-mate-control-center-1.20.3/bin/mate-appearance-properties passed the binary check.
- /nix/store/9pj65djh4jdx8xc2c9m2s4jsji9g27fz-mate-control-center-1.20.3/bin/mate-default-applications-properties passed the binary check.
- Warning: no invocation of /nix/store/9pj65djh4jdx8xc2c9m2s4jsji9g27fz-mate-control-center-1.20.3/bin/mate-display-properties had a zero exit code or showed the expected version
- /nix/store/9pj65djh4jdx8xc2c9m2s4jsji9g27fz-mate-control-center-1.20.3/bin/mate-keyboard-properties passed the binary check.
- Warning: no invocation of /nix/store/9pj65djh4jdx8xc2c9m2s4jsji9g27fz-mate-control-center-1.20.3/bin/mate-keybinding-properties had a zero exit code or showed the expected version
- /nix/store/9pj65djh4jdx8xc2c9m2s4jsji9g27fz-mate-control-center-1.20.3/bin/mate-mouse-properties passed the binary check.
- Warning: no invocation of /nix/store/9pj65djh4jdx8xc2c9m2s4jsji9g27fz-mate-control-center-1.20.3/bin/mate-network-properties had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/9pj65djh4jdx8xc2c9m2s4jsji9g27fz-mate-control-center-1.20.3/bin/mate-window-properties had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/9pj65djh4jdx8xc2c9m2s4jsji9g27fz-mate-control-center-1.20.3/bin/mate-about-me had a zero exit code or showed the expected version
- /nix/store/9pj65djh4jdx8xc2c9m2s4jsji9g27fz-mate-control-center-1.20.3/bin/mate-thumbnail-font passed the binary check.
- /nix/store/9pj65djh4jdx8xc2c9m2s4jsji9g27fz-mate-control-center-1.20.3/bin/mate-font-viewer passed the binary check.
- /nix/store/9pj65djh4jdx8xc2c9m2s4jsji9g27fz-mate-control-center-1.20.3/bin/mate-control-center passed the binary check.
- Warning: no invocation of /nix/store/9pj65djh4jdx8xc2c9m2s4jsji9g27fz-mate-control-center-1.20.3/bin/.mate-at-properties-wrapped had a zero exit code or showed the expected version
- /nix/store/9pj65djh4jdx8xc2c9m2s4jsji9g27fz-mate-control-center-1.20.3/bin/.mate-appearance-properties-wrapped passed the binary check.
- /nix/store/9pj65djh4jdx8xc2c9m2s4jsji9g27fz-mate-control-center-1.20.3/bin/.mate-default-applications-properties-wrapped passed the binary check.
- Warning: no invocation of /nix/store/9pj65djh4jdx8xc2c9m2s4jsji9g27fz-mate-control-center-1.20.3/bin/.mate-display-properties-wrapped had a zero exit code or showed the expected version
- /nix/store/9pj65djh4jdx8xc2c9m2s4jsji9g27fz-mate-control-center-1.20.3/bin/.mate-keyboard-properties-wrapped passed the binary check.
- Warning: no invocation of /nix/store/9pj65djh4jdx8xc2c9m2s4jsji9g27fz-mate-control-center-1.20.3/bin/.mate-keybinding-properties-wrapped had a zero exit code or showed the expected version
- /nix/store/9pj65djh4jdx8xc2c9m2s4jsji9g27fz-mate-control-center-1.20.3/bin/.mate-mouse-properties-wrapped passed the binary check.
- Warning: no invocation of /nix/store/9pj65djh4jdx8xc2c9m2s4jsji9g27fz-mate-control-center-1.20.3/bin/.mate-network-properties-wrapped had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/9pj65djh4jdx8xc2c9m2s4jsji9g27fz-mate-control-center-1.20.3/bin/.mate-window-properties-wrapped had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/9pj65djh4jdx8xc2c9m2s4jsji9g27fz-mate-control-center-1.20.3/bin/.mate-about-me-wrapped had a zero exit code or showed the expected version
- /nix/store/9pj65djh4jdx8xc2c9m2s4jsji9g27fz-mate-control-center-1.20.3/bin/.mate-thumbnail-font-wrapped passed the binary check.
- /nix/store/9pj65djh4jdx8xc2c9m2s4jsji9g27fz-mate-control-center-1.20.3/bin/.mate-font-viewer-wrapped passed the binary check.
- /nix/store/9pj65djh4jdx8xc2c9m2s4jsji9g27fz-mate-control-center-1.20.3/bin/.mate-control-center-wrapped passed the binary check.
- Warning: no invocation of /nix/store/9pj65djh4jdx8xc2c9m2s4jsji9g27fz-mate-control-center-1.20.3/bin/mate-display-properties-install-systemwide had a zero exit code or showed the expected version
- 14 of 27 passed binary check by having a zero exit code.
- 0 of 27 passed binary check by having the new version present in output.
- found 1.20.3 with grep in /nix/store/9pj65djh4jdx8xc2c9m2s4jsji9g27fz-mate-control-center-1.20.3
- directory tree listing: https://gist.github.com/d7dcbedb8c3ee980f47de7113356f554
- du listing: https://gist.github.com/eef8b0a5e0fc4b435fe0dcafa40e1e75
Keep only the version atribute in derivations, with the full version
string of the package. This will make it easier to write a script for
automatic updating of the packages using the update-source-version
command from common-updater-scripts.