nixpkgs/pkgs/top-level/packages-config.nix
sternenseemann bddfc03e71 packages-config.nix: make sure all GHCs are added to packages.json
Currently only the default GHC (8.10.7) is added to packages.json,
leading e. g. repology to believe we don't ship an up to date GHC which
is inaccurate.
2021-12-22 22:07:00 +01:00

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