mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 04:05:40 +03:00
docs/language-frameworks/python: pythonRemoveDepsHook is added automatically
This commit is contained in:
parent
eec16b48aa
commit
ef70f7d028
1 changed files with 4 additions and 0 deletions
|
@ -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`:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue