From c1b8900cb9b5f249802fa8cb8673cf2c09088bfe Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Mon, 8 Aug 2022 15:29:03 +0800 Subject: [PATCH] python3Packages.recursivePthLoader: fix cross compilation --- .../development/python-modules/recursive-pth-loader/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/recursive-pth-loader/default.nix b/pkgs/development/python-modules/recursive-pth-loader/default.nix index c49f891ec1de..23e7f0f80b62 100644 --- a/pkgs/development/python-modules/recursive-pth-loader/default.nix +++ b/pkgs/development/python-modules/recursive-pth-loader/default.nix @@ -10,7 +10,7 @@ stdenv.mkDerivation { patchPhase = "cat ${./sitecustomize.py} > sitecustomize.py"; - buildPhase = "${python}/bin/${python.executable} -m compileall ."; + buildPhase = "${python.pythonForBuild}/bin/${python.pythonForBuild.executable} -m compileall ."; installPhase = ''