diff options
author | Peder Bergebakken Sundt | 2024-08-06 20:15:54 +0200 |
---|---|---|
committer | Peder Bergebakken Sundt | 2024-08-06 20:15:54 +0200 |
commit | ef70f7d028122dd184139a60fac0bad410ab5cc8 (patch) | |
tree | 994323f1e002816ce916c0ad9f3775c6e61c1802 /doc | |
parent | eec16b48aa9e98c64b4fdd4a564092ea03a9c8a8 (diff) |
docs/language-frameworks/python: pythonRemoveDepsHook is added automatically
Diffstat (limited to 'doc')
-rw-r--r-- | doc/languages-frameworks/python.section.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/languages-frameworks/python.section.md b/doc/languages-frameworks/python.section.md index 5a2e2de2edef..6456666ca0ec 100644 --- a/doc/languages-frameworks/python.section.md +++ b/doc/languages-frameworks/python.section.md @@ -1365,6 +1365,10 @@ those specified in `build-system`. If a package requires incompatible build time dependencies, they should be removed in `postPatch` through `substituteInPlace` or similar. +For ease of use, both `buildPythonPackage` and `buildPythonApplication` will +automatically add `pythonRelaxDepsHook` if either `pythonRelaxDeps` or +`pythonRemoveDeps` is specified. + #### Using unittestCheckHook {#using-unittestcheckhook} `unittestCheckHook` is a hook which will set up (or configure) a [`checkPhase`](#ssec-check-phase) to run `python -m unittest discover`: |