Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pythonPackages.toPythonModule: also support
overridePythonAttrs
.
The `overridePythonAttrs` method is for overriding `buildPython*` builders. Packages that use `toPythonModule` directly are typically bindings build not using `buildPython*`. This commit allows also those packages to be overridden with `overridePythonAttrs`, insteading actually invoking `overrideAttrs`. The motivation for this is to offer a common user interface for users of the Python packages set. This way they only need to know about `overridePythonAttrs` when overriding the builder, and `override` when overriding the `callPackage` call. Related RFC NixOS/rfcs#67.
- Loading branch information