···1-{ stdenv, fetchgit, perl, makeWrapper, makeDesktopItem
2-, which, perlPackages, boost
3}:
45stdenv.mkDerivation rec {
···39 # one in the kernel, we use that one instead.
40 sed -i 's|"/usr/include/asm-generic/ioctls.h"|<asm-generic/ioctls.h>|g' xs/src/libslic3r/GCodeSender.cpp
41 '';
000004243 buildPhase = ''
44 export SLIC3R_NO_AUTO=true
···1+{ lib, stdenv, fetchgit, perl, makeWrapper
2+, makeDesktopItem, which, perlPackages, boost
3}:
45stdenv.mkDerivation rec {
···39 # one in the kernel, we use that one instead.
40 sed -i 's|"/usr/include/asm-generic/ioctls.h"|<asm-generic/ioctls.h>|g' xs/src/libslic3r/GCodeSender.cpp
41 '';
42+43+ # note the boost-compile-error is fixed in
44+ # https://github.com/slic3r/Slic3r/commit/90f108ae8e7a4315f82e317f2141733418d86a68
45+ # this patch can be probably be removed in the next version after 1.3.0
46+ patches = lib.optional (lib.versionAtLeast boost.version "1.56.0") ./boost-compile-error.patch;
4748 buildPhase = ''
49 export SLIC3R_NO_AUTO=true