pypy: Change libPrefix from pypy5.10 to pypy2.7
To avoid conflicting with pypy3, as per https://github.com/NixOS/nixpkgs/pull/34066#issuecomment-359155484. Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
parent
80738ed9dc
commit
f96349c456
1 changed files with 3 additions and 6 deletions
|
@ -10,19 +10,16 @@
|
|||
assert zlibSupport -> zlib != null;
|
||||
|
||||
let
|
||||
majorVersion = "6.0";
|
||||
minorVersion = "0";
|
||||
minorVersionSuffix = "";
|
||||
version = "6.0.0";
|
||||
pythonVersion = "2.7";
|
||||
version = "${majorVersion}.${minorVersion}${minorVersionSuffix}";
|
||||
libPrefix = "pypy${majorVersion}";
|
||||
libPrefix = "pypy${pythonVersion}";
|
||||
sitePackages = "site-packages";
|
||||
|
||||
pythonForPypy = python.withPackages (ppkgs: [ ppkgs.pycparser ]);
|
||||
|
||||
in stdenv.mkDerivation rec {
|
||||
name = "pypy-${version}";
|
||||
inherit majorVersion version pythonVersion;
|
||||
inherit version pythonVersion;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://bitbucket.org/pypy/pypy/get/release-pypy${pythonVersion}-v${version}.tar.bz2";
|
||||
|
|
Loading…
Reference in a new issue