From 7ced3bda6c942e870aa9f1b30c5574999f84ce10 Mon Sep 17 00:00:00 2001 From: K900 Date: Sun, 12 Jan 2025 00:37:27 +0300 Subject: [PATCH] prusa-slicer: pin to boost186 --- pkgs/applications/misc/prusa-slicer/default.nix | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/pkgs/applications/misc/prusa-slicer/default.nix b/pkgs/applications/misc/prusa-slicer/default.nix index ce1b3521d046d..75f90b2f44313 100644 --- a/pkgs/applications/misc/prusa-slicer/default.nix +++ b/pkgs/applications/misc/prusa-slicer/default.nix @@ -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