diff options
| author | Maximilian Bosch <maximilian@mbosch.me> | 2023-08-12 13:10:05 +0200 |
|---|---|---|
| committer | Maximilian Bosch <maximilian@mbosch.me> | 2023-08-12 13:51:10 +0200 |
| commit | 2cefe69f6f97b705fc49cdfb9bccca4d01280fa0 (patch) | |
| tree | b47125c8d466ed8eb1e724edb645ff692be95314 /pkgs/development/python-modules/python-mapnik | |
| parent | 892661f45b57a188986a2f5518d163146b11fd9e (diff) | |
mailmanPackages.python: allow changing python package-set used for mailman
When having a patch for a python module that should only be used for
mailman, but for nothing else, it's now possible to apply it like this:
self: super: {
mailmanPackages = super.mailmanPackages.extend (mailmanSelf: mailmanSuper: {
python3 = mailmanSuper.python3.override {
overlay = pythonSelf: pythonSuper: {
psycopg2 = /* ... */;
};
};
});
}
The underlying issue is that the `packageOverrides`-mechanism of
`pkgs.python3` doesn't compose, so an optional overlay is manually
applied to the `python3` used for mailman.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik')
0 files changed, 0 insertions, 0 deletions
