From ef83f9ed3950c57d8ef99387a960112814e85852 Mon Sep 17 00:00:00 2001 From: Thorsten Weber Date: Sun, 18 Mar 2018 00:52:46 +0100 Subject: [PATCH] slic3r-prusa3d: 1.38.7 -> 1.39.1 --- pkgs/applications/misc/slic3r-prusa3d/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/slic3r-prusa3d/default.nix b/pkgs/applications/misc/slic3r-prusa3d/default.nix index 88cb42e3f5c8..3a55ea6205ec 100644 --- a/pkgs/applications/misc/slic3r-prusa3d/default.nix +++ b/pkgs/applications/misc/slic3r-prusa3d/default.nix @@ -33,7 +33,7 @@ let in stdenv.mkDerivation rec { name = "slic3r-prusa-edition-${version}"; - version = "1.38.7"; + version = "1.39.1"; enableParallelBuilding = true; @@ -70,6 +70,10 @@ stdenv.mkDerivation rec { XMLSAX ]); + prePatch = '' + sed -i 's|"/usr/include/asm-generic/ioctls.h"||g' xs/src/libslic3r/GCodeSender.cpp + ''; + postInstall = '' echo 'postInstall' wrapProgram "$out/bin/slic3r-prusa3d" \ @@ -84,7 +88,7 @@ stdenv.mkDerivation rec { src = fetchFromGitHub { owner = "prusa3d"; repo = "Slic3r"; - sha256 = "1nrryd2bxmk4y59bq5fp7n2alyvc5a9xvnbx5j4fg4mqr91ccs5c"; + sha256 = "0frkjgzmiy788ijkcqz3baxcrncqmk9s2vcd99hb8p2q13cg51ff"; rev = "version_${version}"; };