Skip to content

Commit

Permalink
prusa-slicer: pin to boost186
Browse files Browse the repository at this point in the history
  • Loading branch information
K900 committed Jan 11, 2025
1 parent 6717139 commit 7ced3bd
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions pkgs/applications/misc/prusa-slicer/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
, cmake
, pkg-config
, wrapGAppsHook3
, boost
, boost183
, boost186
, cereal
, cgal
, curl
Expand Down Expand Up @@ -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";
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 7ced3bd

Please sign in to comment.