pypy: Set isPy2, isPy27
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
commit6d80927a43baee1b006fd54944084001dc04b5a5
authorAnders Kaseorg <andersk@mit.edu>
dateSat 20 Jan 2018, 04:06 (9 years ago)
parent8b80dec
pkgs/development/interpreters/python/pypy/2.7/default.nix+2
@@ -116,6 +116,8 @@ in stdenv.mkDerivation rec {
116116 inherit zlibSupport libPrefix sitePackages;
117117 executable = "pypy";
118118 isPypy = true;
119+ isPy2 = true;
120+ isPy27 = true;
119121 buildEnv = callPackage ../../wrapper.nix { python = self; inherit (pythonPackages) requiredPythonModules; };
120122 interpreter = "${self}/bin/${executable}";
121123 withPackages = import ../../with-packages.nix { inherit buildEnv pythonPackages;};