prusa-slicer: pin to boost186

This commit is contained in:
K900 2025-01-12 00:37:27 +03:00
parent 671713937a
commit 7ced3bda6c

View File

@ -6,8 +6,7 @@
, cmake
, pkg-config
, wrapGAppsHook3
, boost
, boost183
, boost186
, cereal
, cgal
, curl
@ -72,14 +71,6 @@ let
patches = [
];
# Build requires at least Boost v1.83. If the mainline package satisfies
# that, just use the mainline package, otherwise use an explicitly versioned
# package.
boost183OrBetter =
if lib.versionAtLeast boost.version "1.83"
then boost
else boost183;
in
stdenv.mkDerivation (finalAttrs: {
pname = "prusa-slicer";
@ -111,7 +102,7 @@ stdenv.mkDerivation (finalAttrs: {
buildInputs = [
binutils
boost183OrBetter
boost186 # does not build with 1.87, see https://github.com/prusa3d/PrusaSlicer/issues/13799
cereal
cgal
curl