summary refs log tree commit diff
path: root/doc/languages-frameworks
diff options
context:
space:
mode:
authorArtturi <Artturin@artturin.com>2023-11-08 00:13:25 +0200
committerGitHub <noreply@github.com>2023-11-08 00:13:25 +0200
commitd24da528443dabfdbda63153e8b33fe8b2fbb15f (patch)
tree3755096ac191b65b3930372ad4f1e8eba4f854ca /doc/languages-frameworks
parent878631d48ae937ad0366cd4c6949f712d4029797 (diff)
parentf0011fd103af9ad262448115c1e921d0b73a6c07 (diff)
downloadnixpkgs-d24da528443dabfdbda63153e8b33fe8b2fbb15f.tar
nixpkgs-d24da528443dabfdbda63153e8b33fe8b2fbb15f.tar.gz
nixpkgs-d24da528443dabfdbda63153e8b33fe8b2fbb15f.tar.bz2
nixpkgs-d24da528443dabfdbda63153e8b33fe8b2fbb15f.tar.lz
nixpkgs-d24da528443dabfdbda63153e8b33fe8b2fbb15f.tar.xz
nixpkgs-d24da528443dabfdbda63153e8b33fe8b2fbb15f.tar.zst
nixpkgs-d24da528443dabfdbda63153e8b33fe8b2fbb15f.zip
Merge pull request #265764 from amjoseph-nixpkgs/pr/pythonForBuild
Diffstat (limited to 'doc/languages-frameworks')
-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
 ```