summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/rangehttpserver
diff options
context:
space:
mode:
authorsternenseemann <sternenseemann@systemli.org>2021-11-20 17:43:12 +0100
committersterni <sternenseemann@systemli.org>2022-01-06 12:21:45 +0100
commitfb075fab731adbacfec384ad910bf48920c099c4 (patch)
tree3e58e2936dc170bebf483a2acc097d0d45762a1a /pkgs/development/python-modules/rangehttpserver
parentbaaf9459d6105c243239289e1e82e3cdd5ac4809 (diff)
haskellPackages.{ghcWithPackages, ghcWithHoogle}: make overrideable
This is achieved by passing the entire package set to the respective wrappers and passing the select function as a second attribute. Together with the new support for callPackage-ing functions this allows for things like `ghcWithPackages.override { useLLVM = true; } (p: [ … ])`. To make this possible for `ghcWithHoogle` as well, we need to make the wrapper a bit more bespoke and inline the hoogle feature as well. The hoogle wrapper, however, can remain separate and is exposed as `hoogleWithPackages` additionally, as it can also serve standalone use. `hoogleLocal` is kept for backwards compatibility (including the old, suboptimal API), but will inform users about the better alternative via a warning.
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions