anchor.diff:      # remove broken symbolic links
       find $out -xtype l -ls -exec rm {} \;
   
  -    # Add desktop items
  -    ${desktopItems.planmaker.buildCommand}
  -    ${desktopItems.presentations.buildCommand}
  -    ${desktopItems.textmaker.buildCommand}
  -
       # Add mime types
       install -D -t $out/share/mime/packages ${pname}/mime/softmaker-*office*${shortEdition}.xml
   
       runHook postInstall
     '';
  +
  +  desktopItems = builtins.attrValues desktopItems;
   
     meta = with stdenv.lib; {
       description = "An office suite with a word processor, spreadsheet and presentation program";
  
positive.code: { stdenv, fetchurl, autoPatchelfHook, makeDesktopItem, makeWrapper
  
    # Dynamic Libraries
  , curl, libGL, libX11, libXext, libXmu, libXrandr, libXrender
  
negative.code: 
    nativeBuildInputs = [
      autoPatchelfHook
      copyDesktopItems
      makeWrapper
    ];
  
  