gplates: fix failing build

Started failing after the commit 11ea0e99b7 (Python 3.9->3.10 upgrade) with error:

    CMake Error at .../lib/cmake/Boost-1.75.0/BoostConfig.cmake:141 (find_package):
  Could not find a package configuration file provided by boost_python310

It appears that boost <= 1.78 fails to find Python with double digits in the minor version (like X.YZ)
This commit is contained in:
yurket 2022-11-12 11:32:45 -08:00
parent 2741fd822e
commit 8a236e246a

View File

@ -14,13 +14,15 @@
, libGLU
, mpfr
, proj
, python3
# build with Python 3.10 fails, because boost <= 1.78 can't find
# pythons with double digits in minor versions, like X.YZ
, python39
, qtxmlpatterns
, qwt
}:
let
python = python3.withPackages (ps: with ps; [
python = python39.withPackages (ps: with ps; [
numpy
]);
boost' = boost.override {