From 4c249aafbf2bf305b38d85da01881a1c5a1cee75 Mon Sep 17 00:00:00 2001 From: FliegendeWurst Date: Fri, 24 Jan 2025 08:25:56 +0100 Subject: [PATCH] boost: fix cross build if enablePython --- pkgs/development/libraries/boost/generic.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/boost/generic.nix b/pkgs/development/libraries/boost/generic.nix index 593c8b8deddf..541c0ed84f0a 100644 --- a/pkgs/development/libraries/boost/generic.nix +++ b/pkgs/development/libraries/boost/generic.nix @@ -282,7 +282,7 @@ stdenv.mkDerivation { # b2 needs to be explicitly told how to find Python when cross-compiling + lib.optionalString enablePython '' cat << EOF >> user-config.jam - using python : : ${python.interpreter} + using python : : ${python.pythonOnBuildForHost.interpreter} : ${python}/include/python${python.pythonVersion} : ${python}/lib ;