1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-11 07:04:28 +00:00
nixpkgs/pkgs/top-level/packages-config.nix
Atemu 9d8ac38621 packages-config: refactor and simplification
Now simply inherits attrsets from super directly instead of mapping getAttr over
a list of strings.

Filtering isn't really needed as non-existent subsets should just be removed
from this list when removing them from Nixpkgs (such an action warrants a
tree-wide search which should come across this file).

recurseIntoAttrs can simply be mapAttr'd now.

Some subsets have been removed because they no longer exist.

Sorted the list while I was at it.
2021-07-17 05:49:29 +02:00

38 lines
986 B
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)
apacheHttpdPackages
atomPackages
fdbPackages
fusePackages
gns3Packages
haskellPackages
idrisPackages
nodePackages
nodePackages_latest
platformioPackages
quicklispPackagesClisp
quicklispPackagesSBCL
rPackages
roundcubePlugins
sconsPackages
sourceHanPackages
steamPackages
ut2004Packages
zabbix40
zabbix50
zeroadPackages
;
# This is an alias which we disallow by default; explicitly allow it
emacs27Packages = emacs27.pkgs;
};
}