anchor.diff:  
     NIX_CFLAGS_COMPILE = "-I${ilmbase.dev}/include/OpenEXR";
   
  -  postInstall = ''
  -    for i in $out/bin/*; do
  -      wrapProgram $i \
  -        --prefix PATH ':' "${pstoedit.out}/bin" \
  -        --prefix XDG_DATA_DIRS ':' "${breeze-icons}/share"
  -    done
  -  '';
  +  qtWrapperArgs = [
  +    "--prefix PATH : ${lib.getBin pstoedit}/bin"
  +    "--prefix XDG_DATA_DIRS : ${breeze-icons}/share"
  +  ];
   
     meta = with lib; {
       description = "A suite of productivity applications";
  
positive.code: 
  mkDerivation rec {
    pname = "calligra";
    version = "3.1.0";
  
    src = fetchurl {
      url = "mirror://kde/stable/${pname}/${version}/${pname}-${version}.tar.xz";
      sha256 = "0w782k0hprpb6viixnqz34sp0z5csv3prdby46z22qqkcipcs638";
    };
  
    patches = [ ./qt5_11.patch ];
  
    enableParallelBuilding = true;
  
    nativeBuildInputs = [ extra-cmake-modules kdoctools makeWrapper ];
  
    buildInputs = [
      boost qtwebkit qtx11extras shared-mime-info
  
negative.code:     kjobwidgets kcmutils kdelibs4support kio kross knotifications knotifyconfig kparts
      ktextwidgets kwallet kwidgetsaddons kwindowsystem kxmlgui sonnet threadweaver
      kcontacts akonadi akonadi-calendar akonadi-contacts
      eigen git gsl ilmbase kproperty kreport lcms2 marble pcre libgit2 libodfgen librevenge
      libvisio libwpd libwpg libwps okular openexr openjpeg phonon poppler qca-qt5 vc
    ];
  
  