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 ;