diff options
Diffstat (limited to 'pkgs/applications/misc/slic3r/default.nix')
-rw-r--r-- | pkgs/applications/misc/slic3r/default.nix | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/pkgs/applications/misc/slic3r/default.nix b/pkgs/applications/misc/slic3r/default.nix index cf9e93b87b3..8dbd0cd5776 100644 --- a/pkgs/applications/misc/slic3r/default.nix +++ b/pkgs/applications/misc/slic3r/default.nix @@ -1,5 +1,5 @@ -{ stdenv, fetchgit, perl, makeWrapper, makeDesktopItem -, which, perlPackages, boost +{ lib, stdenv, fetchgit, perl, makeWrapper +, makeDesktopItem, which, perlPackages, boost }: stdenv.mkDerivation rec { @@ -40,6 +40,11 @@ stdenv.mkDerivation rec { sed -i 's|"/usr/include/asm-generic/ioctls.h"|<asm-generic/ioctls.h>|g' xs/src/libslic3r/GCodeSender.cpp ''; + # note the boost-compile-error is fixed in + # https://github.com/slic3r/Slic3r/commit/90f108ae8e7a4315f82e317f2141733418d86a68 + # this patch can be probably be removed in the next version after 1.3.0 + patches = lib.optional (lib.versionAtLeast boost.version "1.56.0") ./boost-compile-error.patch; + buildPhase = '' export SLIC3R_NO_AUTO=true export LD=$CXX |