about summary refs log tree commit diff
path: root/pkgs/development/interpreters/python/python2
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 /pkgs/development/interpreters/python/python2
parent4f649d67d5abd9e8463136fa6b2be50a32b6f64e (diff)
treewide: change pythonForBuild to pythonOnBuildForHost
Diffstat (limited to 'pkgs/development/interpreters/python/python2')
-rw-r--r--pkgs/development/interpreters/python/python2/mk-python-derivation.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/interpreters/python/python2/mk-python-derivation.nix b/pkgs/development/interpreters/python/python2/mk-python-derivation.nix
index d42e4e85c102d..1a6f9c784cf67 100644
--- a/pkgs/development/interpreters/python/python2/mk-python-derivation.nix
+++ b/pkgs/development/interpreters/python/python2/mk-python-derivation.nix
@@ -224,7 +224,7 @@ let
     '' + attrs.postFixup or "";
 
     # Python packages built through cross-compilation are always for the host platform.
-    disallowedReferences = lib.optionals (python.stdenv.hostPlatform != python.stdenv.buildPlatform) [ python.pythonForBuild ];
+    disallowedReferences = lib.optionals (python.stdenv.hostPlatform != python.stdenv.buildPlatform) [ python.pythonOnBuildForHost ];
 
     outputs = outputs ++ lib.optional withDistOutput "dist";