Could wheels for user selected platform be also supported?
I what I suggest is to add an option, that would allow to target specific platform. So if user entered pip2nix generate --platform manylinux2014_aarch64 ..., wheels for manylinux2014_aarch64 would be used if found.
It seems that passing TargetPython when constructing pip finder should do the job:
target_python = TargetPython("manylinux2014_aarch64")
finder = self._build_package_finder(options, session, target_python)
Could wheels for user selected platform be also supported?
I what I suggest is to add an option, that would allow to target specific platform. So if user entered
pip2nix generate --platform manylinux2014_aarch64 ...
, wheels formanylinux2014_aarch64
would be used if found.It seems that passing
TargetPython
when constructing pip finder should do the job: