···11-{ stdenv, fetchgit, perl, makeWrapper, makeDesktopItem
22-, which, perlPackages, boost
11+{ lib, stdenv, fetchgit, perl, makeWrapper
22+, makeDesktopItem, which, perlPackages, boost
33}:
4455stdenv.mkDerivation rec {
···3939 # one in the kernel, we use that one instead.
4040 sed -i 's|"/usr/include/asm-generic/ioctls.h"|<asm-generic/ioctls.h>|g' xs/src/libslic3r/GCodeSender.cpp
4141 '';
4242+4343+ # note the boost-compile-error is fixed in
4444+ # https://github.com/slic3r/Slic3r/commit/90f108ae8e7a4315f82e317f2141733418d86a68
4545+ # this patch can be probably be removed in the next version after 1.3.0
4646+ patches = lib.optional (lib.versionAtLeast boost.version "1.56.0") ./boost-compile-error.patch;
42474348 buildPhase = ''
4449 export SLIC3R_NO_AUTO=true