mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 05:04:00 +00:00
d24b8431aa
This attribute will necessarily cause an evaluation failures without aliases, but removing the reliance on aliases will remove the error message for users trying to use this attribute. Thus we'll work around this for now.
53 lines
1.7 KiB
Nix
53 lines
1.7 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
|
|
idrisPackages
|
|
nodePackages
|
|
nodePackages_latest
|
|
platformioPackages
|
|
quicklispPackagesClisp
|
|
quicklispPackagesSBCL
|
|
rPackages
|
|
roundcubePlugins
|
|
sconsPackages
|
|
sourceHanPackages
|
|
steamPackages
|
|
ut2004Packages
|
|
zabbix40
|
|
zabbix50
|
|
zeroadPackages
|
|
;
|
|
|
|
haskellPackages = super.haskellPackages // {
|
|
# mesos, which this depends on, has been removed from nixpkgs. We are keeping
|
|
# the error message for now, so users will get an error message they can make
|
|
# sense of, but need to work around it here.
|
|
# TODO(@sternenseemann): remove this after branch-off of 22.05, along with the
|
|
# override in configuration-nix.nix
|
|
hs-mesos = null;
|
|
};
|
|
|
|
# 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;
|
|
};
|
|
}
|