diff options
author | Adam Joseph <adam@westernsemico.com> | 2023-11-05 17:38:24 -0800 |
---|---|---|
committer | Adam Joseph <adam@westernsemico.com> | 2023-11-05 17:42:12 -0800 |
commit | bc2d5988780f02c26daea44016df56a1dc4fb8e2 (patch) | |
tree | 10af40499507a484c1c69e54fa5747e27797c7c4 /pkgs/development/python2-modules | |
parent | 4f649d67d5abd9e8463136fa6b2be50a32b6f64e (diff) | |
download | nixlib-bc2d5988780f02c26daea44016df56a1dc4fb8e2.tar nixlib-bc2d5988780f02c26daea44016df56a1dc4fb8e2.tar.gz nixlib-bc2d5988780f02c26daea44016df56a1dc4fb8e2.tar.bz2 nixlib-bc2d5988780f02c26daea44016df56a1dc4fb8e2.tar.lz nixlib-bc2d5988780f02c26daea44016df56a1dc4fb8e2.tar.xz nixlib-bc2d5988780f02c26daea44016df56a1dc4fb8e2.tar.zst nixlib-bc2d5988780f02c26daea44016df56a1dc4fb8e2.zip |
treewide: change pythonForBuild to pythonOnBuildForHost
Diffstat (limited to 'pkgs/development/python2-modules')
3 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/development/python2-modules/bootstrapped-pip/default.nix b/pkgs/development/python2-modules/bootstrapped-pip/default.nix index 314bf0048c8a..846c76b677b3 100644 --- a/pkgs/development/python2-modules/bootstrapped-pip/default.nix +++ b/pkgs/development/python2-modules/bootstrapped-pip/default.nix @@ -45,17 +45,17 @@ stdenv.mkDerivation rec { echo "Building setuptools wheel..." pushd setuptools - ${python.pythonForBuild.interpreter} -m pip install --no-build-isolation --no-index --prefix=$out --ignore-installed --no-dependencies --no-cache . + ${python.pythonOnBuildForHost.interpreter} -m pip install --no-build-isolation --no-index --prefix=$out --ignore-installed --no-dependencies --no-cache . popd echo "Building wheel wheel..." pushd wheel - ${python.pythonForBuild.interpreter} -m pip install --no-build-isolation --no-index --prefix=$out --ignore-installed --no-dependencies --no-cache . + ${python.pythonOnBuildForHost.interpreter} -m pip install --no-build-isolation --no-index --prefix=$out --ignore-installed --no-dependencies --no-cache . popd echo "Building pip wheel..." pushd pip - ${python.pythonForBuild.interpreter} -m pip install --no-build-isolation --no-index --prefix=$out --ignore-installed --no-dependencies --no-cache . + ${python.pythonOnBuildForHost.interpreter} -m pip install --no-build-isolation --no-index --prefix=$out --ignore-installed --no-dependencies --no-cache . popd ''; diff --git a/pkgs/development/python2-modules/pycairo/default.nix b/pkgs/development/python2-modules/pycairo/default.nix index eefc69a3323f..f90031e048fb 100644 --- a/pkgs/development/python2-modules/pycairo/default.nix +++ b/pkgs/development/python2-modules/pycairo/default.nix @@ -42,7 +42,7 @@ buildPythonPackage rec { # This is only used for figuring out what version of Python is in # use, and related stuff like figuring out what the install prefix # should be, but it does need to be able to execute Python code. - "-Dpython=${python.pythonForBuild.interpreter}" + "-Dpython=${python.pythonOnBuildForHost.interpreter}" ]; meta = with lib; { diff --git a/pkgs/development/python2-modules/setuptools/default.nix b/pkgs/development/python2-modules/setuptools/default.nix index ca70a1061512..faddafc9f9d3 100644 --- a/pkgs/development/python2-modules/setuptools/default.nix +++ b/pkgs/development/python2-modules/setuptools/default.nix @@ -29,8 +29,8 @@ let ]; buildPhase = '' - ${python.pythonForBuild.interpreter} bootstrap.py - ${python.pythonForBuild.interpreter} setup.py sdist --formats=gztar + ${python.pythonOnBuildForHost.interpreter} bootstrap.py + ${python.pythonOnBuildForHost.interpreter} setup.py sdist --formats=gztar # Here we untar the sdist and retar it in order to control the timestamps # of all the files included |