summary refs log tree commit diff
path: root/doc/languages-frameworks/python.section.md
diff options
context:
space:
mode:
authorArtturi <Artturin@artturin.com>2023-02-27 18:17:27 +0200
committerGitHub <noreply@github.com>2023-02-27 18:17:27 +0200
commit1c6a1e5650d5aed40450e2b2974cc72c23a04a1e (patch)
treecbce3ea2e7ff46afb5346c2cd35b549c54016b11 /doc/languages-frameworks/python.section.md
parentff7dfcba57fd60c53c333285012f78fd48da6920 (diff)
parent2bfa93e01c1574343236b8d0052ad5e2964a363c (diff)
downloadnixpkgs-1c6a1e5650d5aed40450e2b2974cc72c23a04a1e.tar
nixpkgs-1c6a1e5650d5aed40450e2b2974cc72c23a04a1e.tar.gz
nixpkgs-1c6a1e5650d5aed40450e2b2974cc72c23a04a1e.tar.bz2
nixpkgs-1c6a1e5650d5aed40450e2b2974cc72c23a04a1e.tar.lz
nixpkgs-1c6a1e5650d5aed40450e2b2974cc72c23a04a1e.tar.xz
nixpkgs-1c6a1e5650d5aed40450e2b2974cc72c23a04a1e.tar.zst
nixpkgs-1c6a1e5650d5aed40450e2b2974cc72c23a04a1e.zip
Merge pull request #218500 from alyssais/pythonForBuild
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 dd61aa26ce4..a65cea533bc 100644
--- a/doc/languages-frameworks/python.section.md
+++ b/doc/languages-frameworks/python.section.md
@@ -1019,7 +1019,7 @@ buildPythonPackage rec {
 
 The `buildPythonPackage` mainly does four things:
 
-* In the `buildPhase`, it calls `${python.interpreter} setup.py bdist_wheel` to
+* In the `buildPhase`, it calls `${python.pythonForBuild.interpreter} setup.py bdist_wheel` to
   build a wheel binary zipfile.
 * In the `installPhase`, it installs the wheel file using `pip install *.whl`.
 * In the `postFixup` phase, the `wrapPythonPrograms` bash function is called to
@@ -1546,7 +1546,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.interpreter} setup.py install_data --install-dir=$out --root=$out
+${python.pythonForBuild.interpreter} setup.py install_data --install-dir=$out --root=$out
 sed -i '/ = data\_files/d' setup.py
 ```