anchor.diff:          sha256 = sha256;
         };
   
  +      includeScript = pkgs.writeText "include.php" ''
  +        <?php
  +
  +        /**
  +         * @return string
  +         */
  +        function __get_custom_data_full_path()
  +        {
  +          return '${dataPath}'; // custom data folder path
  +        }
  +      '';
  +
         installPhase = ''
           mkdir $out
           cp -r rainloop/* $out
           rm -rf $out/data
  -        ln -s ${dataPath} $out/data
  +        cp ${includeScript} $out/include.php
         '';
   
         meta = with stdenv.lib; {
  
positive.code: { stdenv, fetchurl, unzip, dataPath ? "/etc/rainloop" }: let
    common = { edition, sha256 }:
      stdenv.mkDerivation (rec {
        pname = "rainloop${stdenv.lib.optionalString (edition != "") "-${edition}"}";
        version = "1.13.0";
  
        buildInputs = [ unzip ];
  
  
negative.code:   in {
      rainloop-community = common {
        edition = "community";
        sha256 = "0a8qafm4khwj8cnaiaxvjb9073w6fr63vk1b89nks4hmfv10jn6y";
      };
      rainloop-standard = common {
        edition = "";
        sha256 = "0961g4mci080f7y98zx9r4qw620l4z3na1ivvlyhhr1v4dywqvch";
      };
    }
  