2.3.0 (26 Aug 2020)
2.3.0 (26 Aug 2020)
simplified override system, autodetect requirements, improved success rate
Features
- Simplified generic override system via
_(underscore) argument formkPython.
Example:_.{package}.buildInputs.add = [...] buildPythonPackagenow automatically detects requirements. Therefore therequrementsargument becomes optional.buildPythonPackagenow automatically detects packagenameandversion. Therefore those attributes become optional.buildPythonPackagecan now be called while only passing a tarball url or a pathmkPythonallows to include python packages from arbitrary sources via new argumentextra_pkgsmkPythoncan now be called while only passing a list of tarball urls or paths
Fixes
- More bugs introduced by packages with dot in name
- Definitions from
overrides_prewere sometimes disregarded due to wrong use ofwith-statements inside a recursive attrset. - Fix installation of the mach-nix tool via pip. (requirements were missing)
- packages which use a non-normalized version triggered an evaluation error since mach-nix tried to reference their source via normalized version.
- wheels removed from pypi were not removed from the dependency graph which could result in environments failing to build