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)
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper
this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
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-panel/versions.
These checks were done:
- built on NixOS
- ran ‘/nix/store/2hb3j91z25jra21whapq7cpwsr7m4fj1-mate-panel-1.21.0/bin/mate-desktop-item-edit -h’ got 0 exit code
- ran ‘/nix/store/2hb3j91z25jra21whapq7cpwsr7m4fj1-mate-panel-1.21.0/bin/mate-desktop-item-edit --help’ got 0 exit code
- ran ‘/nix/store/2hb3j91z25jra21whapq7cpwsr7m4fj1-mate-panel-1.21.0/bin/mate-panel-test-applets -h’ got 0 exit code
- ran ‘/nix/store/2hb3j91z25jra21whapq7cpwsr7m4fj1-mate-panel-1.21.0/bin/mate-panel-test-applets --help’ got 0 exit code
- ran ‘/nix/store/2hb3j91z25jra21whapq7cpwsr7m4fj1-mate-panel-1.21.0/bin/.mate-desktop-item-edit-wrapped -h’ got 0 exit code
- ran ‘/nix/store/2hb3j91z25jra21whapq7cpwsr7m4fj1-mate-panel-1.21.0/bin/.mate-desktop-item-edit-wrapped --help’ got 0 exit code
- ran ‘/nix/store/2hb3j91z25jra21whapq7cpwsr7m4fj1-mate-panel-1.21.0/bin/.mate-panel-test-applets-wrapped -h’ got 0 exit code
- ran ‘/nix/store/2hb3j91z25jra21whapq7cpwsr7m4fj1-mate-panel-1.21.0/bin/.mate-panel-test-applets-wrapped --help’ got 0 exit code
- found 1.21.0 with grep in /nix/store/2hb3j91z25jra21whapq7cpwsr7m4fj1-mate-panel-1.21.0
- directory tree listing: https://gist.github.com/ea7810820311098527d7248a349b1657
- du listing: https://gist.github.com/967206660f695b80197cc7440dee23d5
Semi-automatic update generated by https://github.com/ryantm/nix-update tools.
This update was made based on information from https://repology.org/metapackage/mate-panel/versions.
These checks were done:
- built on NixOS
- ran `/nix/store/k3l12ksm4cczvxiaj9g5j76ri43vi8xi-mate-panel-1.20.1/bin/mate-desktop-item-edit -h` got 0 exit code
- ran `/nix/store/k3l12ksm4cczvxiaj9g5j76ri43vi8xi-mate-panel-1.20.1/bin/mate-desktop-item-edit --help` got 0 exit code
- ran `/nix/store/k3l12ksm4cczvxiaj9g5j76ri43vi8xi-mate-panel-1.20.1/bin/mate-panel-test-applets -h` got 0 exit code
- ran `/nix/store/k3l12ksm4cczvxiaj9g5j76ri43vi8xi-mate-panel-1.20.1/bin/mate-panel-test-applets --help` got 0 exit code
- ran `/nix/store/k3l12ksm4cczvxiaj9g5j76ri43vi8xi-mate-panel-1.20.1/bin/.mate-desktop-item-edit-wrapped -h` got 0 exit code
- ran `/nix/store/k3l12ksm4cczvxiaj9g5j76ri43vi8xi-mate-panel-1.20.1/bin/.mate-desktop-item-edit-wrapped --help` got 0 exit code
- ran `/nix/store/k3l12ksm4cczvxiaj9g5j76ri43vi8xi-mate-panel-1.20.1/bin/.mate-panel-test-applets-wrapped -h` got 0 exit code
- ran `/nix/store/k3l12ksm4cczvxiaj9g5j76ri43vi8xi-mate-panel-1.20.1/bin/.mate-panel-test-applets-wrapped --help` got 0 exit code
- found 1.20.1 with grep in /nix/store/k3l12ksm4cczvxiaj9g5j76ri43vi8xi-mate-panel-1.20.1
- directory tree listing: https://gist.github.com/5498a5168ebb3f4e2c6cd2cf3279ba16
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.