anchor.diff:  
     prePatch = ''
       sed -i 's|"/usr/include/asm-generic/ioctls.h"|<asm-generic/ioctls.h>|g' xs/src/libslic3r/GCodeSender.cpp
  +    sed -i "s|\''${PERL_VENDORARCH}|$out/lib/slic3r-prusa3d|g" xs/CMakeLists.txt
  +    sed -i "s|\''${PERL_VENDORLIB}|$out/lib/slic3r-prusa3d|g" xs/CMakeLists.txt
     '';
   
     postInstall = ''
  
positive.code: in
  stdenv.mkDerivation rec {
    name = "slic3r-prusa-edition-${version}";
    version = "1.39.2";
  
    enableParallelBuilding = true;
  
    buildInputs = [
      cmake
      perl
      makeWrapper
      eigen
  
negative.code: { stdenv, fetchFromGitHub, makeWrapper, which, cmake, perl, perlPackages,
    boost, tbb, wxGTK30, pkgconfig, gtk3, fetchurl, gtk2, bash, libGLU,
    glew, eigen, curl }:
  let
    AlienWxWidgets = perlPackages.buildPerlPackage rec {
      name = "Alien-wxWidgets-0.69";
  