
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 b32a0943687d2a5094a6d92f25a4b6e16a76b5b7
result/bin/apply-formatting $NIXPKGS_PATH
46 lines
1.4 KiB
Nix
46 lines
1.4 KiB
Nix
# Used in the generation of package search database.
|
|
{
|
|
# Ensures no aliases are in the results.
|
|
allowAliases = false;
|
|
|
|
# Enable recursion into attribute sets that nix-env normally doesn't look into
|
|
# so that we can get a more complete picture of the available packages for the
|
|
# purposes of the index.
|
|
packageOverrides =
|
|
super:
|
|
with super;
|
|
lib.mapAttrs (_: set: recurseIntoAttrs set) {
|
|
inherit (super)
|
|
agdaPackages
|
|
apacheHttpdPackages
|
|
fdbPackages
|
|
fusePackages
|
|
gns3Packages
|
|
haskellPackages
|
|
idrisPackages
|
|
nodePackages
|
|
nodePackages_latest
|
|
platformioPackages
|
|
rPackages
|
|
roundcubePlugins
|
|
sourceHanPackages
|
|
zabbix50
|
|
zabbix60
|
|
zeroadPackages
|
|
;
|
|
|
|
# Make sure haskell.compiler is included, so alternative GHC versions show up,
|
|
# but don't add haskell.packages.* since they contain the same packages (at
|
|
# least by name) as haskellPackages.
|
|
haskell = super.haskell // {
|
|
compiler = recurseIntoAttrs super.haskell.compiler;
|
|
};
|
|
|
|
# minimal-bootstrap packages aren't used for anything but bootstrapping our
|
|
# stdenv. They should not be used for any other purpose and therefore not
|
|
# show up in search results or repository tracking services that consume our
|
|
# packages.json https://github.com/NixOS/nixpkgs/issues/244966
|
|
minimal-bootstrap = { };
|
|
};
|
|
}
|