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)
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-session-manager/versions.
These checks were done:
- built on NixOS
- /nix/store/wbgh5848w72f7cvsh7ks2vj7f9i0ylnz-mate-session-manager-1.20.1/bin/mate-session passed the binary check.
- /nix/store/wbgh5848w72f7cvsh7ks2vj7f9i0ylnz-mate-session-manager-1.20.1/bin/mate-session-properties passed the binary check.
- /nix/store/wbgh5848w72f7cvsh7ks2vj7f9i0ylnz-mate-session-manager-1.20.1/bin/mate-session-save passed the binary check.
- /nix/store/wbgh5848w72f7cvsh7ks2vj7f9i0ylnz-mate-session-manager-1.20.1/bin/mate-session-inhibit passed the binary check.
- Warning: no invocation of /nix/store/wbgh5848w72f7cvsh7ks2vj7f9i0ylnz-mate-session-manager-1.20.1/bin/mate-wm had a zero exit code or showed the expected version
- /nix/store/wbgh5848w72f7cvsh7ks2vj7f9i0ylnz-mate-session-manager-1.20.1/bin/.mate-session-wrapped passed the binary check.
- /nix/store/wbgh5848w72f7cvsh7ks2vj7f9i0ylnz-mate-session-manager-1.20.1/bin/.mate-session-properties-wrapped passed the binary check.
- /nix/store/wbgh5848w72f7cvsh7ks2vj7f9i0ylnz-mate-session-manager-1.20.1/bin/.mate-session-save-wrapped passed the binary check.
- /nix/store/wbgh5848w72f7cvsh7ks2vj7f9i0ylnz-mate-session-manager-1.20.1/bin/.mate-session-inhibit-wrapped passed the binary check.
- Warning: no invocation of /nix/store/wbgh5848w72f7cvsh7ks2vj7f9i0ylnz-mate-session-manager-1.20.1/bin/.mate-wm-wrapped had a zero exit code or showed the expected version
- 8 of 10 passed binary check by having a zero exit code.
- 1 of 10 passed binary check by having the new version present in output.
- found 1.20.1 with grep in /nix/store/wbgh5848w72f7cvsh7ks2vj7f9i0ylnz-mate-session-manager-1.20.1
- directory tree listing: https://gist.github.com/f036604f75bea4aed0093a9ca8eb6f0a
- du listing: https://gist.github.com/1083d12fd4033f9091a0ce334f09c1e4
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.