anchor.diff:    # are in multiple directories due to each having their own derivation.
     postPatch = let
       inc = e: path:
  -      "${e.dev}/include/KF5/${path}";
  +      "${lib.getDev e}/include/KF5/${path}";
       libs = list:
  -      lib.concatMapStringsSep " " (e: "-L${e.out}/lib") list;
  +      lib.concatMapStringsSep " " (e: "-L${lib.getLib e}/lib") list;
     in ''
       substituteInPlace shell/source/unix/exec/shellexec.cxx \
         --replace /usr/bin/xdg-open ${if kdeIntegration then "kde-open5" else "xdg-open"}
  
positive.code:     "--enable-kf5"
      "--enable-qt5"
      "--enable-gtk3-kde5"
    ];
  
    checkPhase = ''
      make unitcheck
  
negative.code: 
    inherit (primary-src) major minor subdir version;
  
    langsSpaces = lib.concatStringsSep " " langs;
  
    mkDrv = if kdeIntegration then mkDerivation else stdenv.mkDerivation;
  