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 = [...]
buildPythonPackage
now automatically detects requirements. Therefore therequrements
argument becomes optional.buildPythonPackage
now automatically detects packagename
andversion
. Therefore those attributes become optional.buildPythonPackage
can now be called while only passing a tarball url or a pathmkPython
allows to include python packages from arbitrary sources via new argumentextra_pkgs
mkPython
can 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_pre
were 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