mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-04 16:51:40 -05:00
pep508: Fix platform_python_implementation for pypy
This commit is contained in:
parent
3ade93a0e1
commit
f1af96e2c5
1 changed files with 4 additions and 1 deletions
|
@ -93,7 +93,10 @@ let
|
|||
else throw "Unsupported platform"
|
||||
);
|
||||
platform_machine = stdenv.platform.kernelArch;
|
||||
platform_python_implementation = "CPython"; # Only CPython supported for now
|
||||
platform_python_implementation = {
|
||||
cpython = "CPython";
|
||||
pypy = "PyPy";
|
||||
}."${python.passthru.implementation}" or throw "Unsupported implementation ${python.passthru.implementation}";
|
||||
platform_release = ""; # Field not reproducible
|
||||
platform_system = (
|
||||
if stdenv.isLinux then "Linux"
|
||||
|
|
Loading…
Add table
Reference in a new issue