summary refs log tree commit diff
path: root/doc/languages-frameworks/python.section.md
diff options
context:
space:
mode:
authorAdam Joseph <adam@westernsemico.com>2023-11-05 17:38:24 -0800
committerAdam Joseph <adam@westernsemico.com>2023-11-05 17:42:12 -0800
commitbc2d5988780f02c26daea44016df56a1dc4fb8e2 (patch)
tree10af40499507a484c1c69e54fa5747e27797c7c4 /doc/languages-frameworks/python.section.md
parent4f649d67d5abd9e8463136fa6b2be50a32b6f64e (diff)
downloadnixpkgs-bc2d5988780f02c26daea44016df56a1dc4fb8e2.tar
nixpkgs-bc2d5988780f02c26daea44016df56a1dc4fb8e2.tar.gz
nixpkgs-bc2d5988780f02c26daea44016df56a1dc4fb8e2.tar.bz2
nixpkgs-bc2d5988780f02c26daea44016df56a1dc4fb8e2.tar.lz
nixpkgs-bc2d5988780f02c26daea44016df56a1dc4fb8e2.tar.xz
nixpkgs-bc2d5988780f02c26daea44016df56a1dc4fb8e2.tar.zst
nixpkgs-bc2d5988780f02c26daea44016df56a1dc4fb8e2.zip
treewide: change pythonForBuild to pythonOnBuildForHost
Diffstat (limited to 'doc/languages-frameworks/python.section.md')
-rw-r--r--doc/languages-frameworks/python.section.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/languages-frameworks/python.section.md b/doc/languages-frameworks/python.section.md
index cdd5c806912..69a95f482fb 100644
--- a/doc/languages-frameworks/python.section.md
+++ b/doc/languages-frameworks/python.section.md
@@ -142,7 +142,7 @@ buildPythonPackage rec {
 
 The `buildPythonPackage` mainly does four things:
 
-* In the [`buildPhase`](#build-phase), it calls `${python.pythonForBuild.interpreter} setup.py bdist_wheel` to
+* In the [`buildPhase`](#build-phase), it calls `${python.pythonOnBuildForHost.interpreter} setup.py bdist_wheel` to
   build a wheel binary zipfile.
 * In the [`installPhase`](#ssec-install-phase), it installs the wheel file using `pip install *.whl`.
 * In the [`postFixup`](#var-stdenv-postFixup) phase, the `wrapPythonPrograms` bash function is called to
@@ -1682,7 +1682,7 @@ of such package using the feature is `pkgs/tools/X11/xpra/default.nix`.
 As workaround install it as an extra `preInstall` step:
 
 ```shell
-${python.pythonForBuild.interpreter} setup.py install_data --install-dir=$out --root=$out
+${python.pythonOnBuildForHost.interpreter} setup.py install_data --install-dir=$out --root=$out
 sed -i '/ = data\_files/d' setup.py
 ```