diff options
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/development/interpreters/python/pypy/prebuilt.nix')
-rw-r--r-- | infra/libkookie/nixpkgs/pkgs/development/interpreters/python/pypy/prebuilt.nix | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/development/interpreters/python/pypy/prebuilt.nix b/infra/libkookie/nixpkgs/pkgs/development/interpreters/python/pypy/prebuilt.nix index f301fd15f09c..460af1cc67b4 100644 --- a/infra/libkookie/nixpkgs/pkgs/development/interpreters/python/pypy/prebuilt.nix +++ b/infra/libkookie/nixpkgs/pkgs/development/interpreters/python/pypy/prebuilt.nix @@ -1,4 +1,5 @@ -{ stdenv +{ lib +, stdenv , fetchurl , python-setup-hook , self @@ -31,9 +32,15 @@ let implementation = "pypy"; libPrefix = "pypy${pythonVersion}"; executable = "pypy${if isPy3k then "3" else ""}"; - pythonForBuild = self; # Not possible to cross-compile with. sitePackages = "site-packages"; hasDistutilsCxxPatch = false; + + # Not possible to cross-compile with. + pythonOnBuildForBuild = throw "${pname} does not support cross compilation"; + pythonOnBuildForHost = self; + pythonOnBuildForTarget = throw "${pname} does not support cross compilation"; + pythonOnHostForHost = throw "${pname} does not support cross compilation"; + pythonOnTargetForTarget = throw "${pname} does not support cross compilation"; }; pname = "${passthru.executable}_prebuilt"; version = with sourceVersion; "${major}.${minor}.${patch}"; |