nixpkgs/pkgs/development/interpreters/python
Alyssa Ross e3e57b8f18 lib.systems: elaborate Rust metadata
We need this stuff to be available in lib so make-derivation.nix can
access it to construct the Meson cross file.

This has a couple of other advantages:

 - It makes Rust less special.  Now figuring out what Rust calls a
   platform is the same as figuring out what Linux or QEMU call it.

 - We can unify the schema used to define Rust targets, and the schema
   used to access those values later.  Just like you can set "config"
   or "system" in a platform definition, and then access those same
   keys on the elaborated platform, you can now set "rustcTarget" in
   your crossSystem, and then access "stdenv.hostPlatform.rustcTarget"
   in your code.

"rustcTarget", "rustcTargetSpec", "cargoShortTarget", and
"cargoEnvVarTarget" have the "rustc" and "cargo" prefixes because
these are not exposed to code by the compiler, and are not
standardized.  The arch/os/etc. variables are all named to match the
forms in the Rust target spec JSON.

The new rust.target-family only takes a list, since we don't need to
worry about backwards compatibility when that name is used.

The old APIs are all still functional with no warning for now, so that
it's possible for external code to use a single API on both 23.05 and
23.11.  We can introduce the warnings once 23.05 is EOL, and make them
hard errors when 23.11 is EOL.
2023-11-09 10:02:24 +01:00
..
catch_conflicts buildPythonPackage: port catch-conflicts to importlib.metadata 2023-10-30 12:42:36 +01:00
conda
cpython treewide: change pythonForBuild to pythonOnBuildForHost 2023-11-05 17:42:12 -08:00
hooks lib.systems: elaborate Rust metadata 2023-11-09 10:02:24 +01:00
manylinux
pypy
python2 treewide: change pythonForBuild to pythonOnBuildForHost 2023-11-05 17:42:12 -08:00
rustpython
tests python.tests.tkinter: init 2023-08-19 14:00:56 +03:00
update-python-libraries
default.nix Merge staging-next into staging 2023-10-18 12:02:01 +00:00
mk-python-derivation.nix Merge branch 'master' into staging-next 2023-11-08 06:15:46 +00:00
passthrufun.nix python: deprecate pythonForBuild in favor of pythonOnBuildForHost 2023-11-07 02:28:58 +02:00
python-packages-base.nix python2.{buildPythonPackage,buildPythonApplication}: extract into its own file 2023-08-20 10:59:46 +02:00
run_setup.py
setup-hook.nix
setup-hook.sh
sitecustomize.py
tests.nix python27: disable tests that expect Python 3+ 2023-09-25 14:51:43 +01:00
with-packages.nix
wrap-python.nix treewide: change pythonForBuild to pythonOnBuildForHost 2023-11-05 17:42:12 -08:00
wrap.sh
wrapper.nix