From d2204261a3b5d1cabddc56da25b39d11b11225fe Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Wed, 22 Dec 2021 00:45:39 +0100 Subject: [PATCH] pypy37: reinit --- pkgs/development/interpreters/python/default.nix | 5 +++++ pkgs/top-level/all-packages.nix | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/pkgs/development/interpreters/python/default.nix b/pkgs/development/interpreters/python/default.nix index 863b820c5ffe..9078e0901ce1 100644 --- a/pkgs/development/interpreters/python/default.nix +++ b/pkgs/development/interpreters/python/default.nix @@ -253,6 +253,11 @@ in { inherit (darwin) libunwind; inherit (darwin.apple_sdk.frameworks) Security; }; + pypy37 = pypy38.override { + self = pythonInterpreters.pypy37; + pythonVersion = "3.7"; + sha256 = "sha256-LtAqyecQhZxBvILer7CGGXkruaJ+6qFnbHQe3t0hTdc="; + }; pypy27_prebuilt = callPackage ./pypy/prebuilt.nix { # Not included at top-level diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 4383671e3890..d0cbe0ddf292 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -13650,7 +13650,7 @@ with pkgs; python3Packages = python3.pkgs; pythonInterpreters = callPackage ./../development/interpreters/python { }; - inherit (pythonInterpreters) python27 python37 python38 python39 python310 python3Minimal pypy27 pypy38 rustpython; + inherit (pythonInterpreters) python27 python37 python38 python39 python310 python3Minimal pypy27 pypy38 pypy37 rustpython; # Python package sets. python27Packages = python27.pkgs; @@ -13662,6 +13662,8 @@ with pkgs; pypy2Packages = pypy2.pkgs; pypy27Packages = pypy27.pkgs; pypy3Packages = pypy3.pkgs; + pypy37Packages = pypy37.pkgs; + pypy38Packages = pypy38.pkgs; py3c = callPackage ../development/libraries/py3c { };