anchor.diff:    };
   
     postInstall = substituteAll {
  -    name = "hylafaxplus-post-install.sh";
  +    name = "${pname}-post-install.sh";
       src = ./post-install.sh;
       inherit fakeroot libfaketime;
     };
  
positive.code: 
  let
  
    name = "hylafaxplus-${version}";
    version = "7.0.3";
    sha256 = "139iwcwrn9i5lragxi33ilzah72w59wg4midfjjgx5cly3ah0iy4";
  
    configSite = substituteAll {
      name = "hylafaxplus-config.site";
      src = ./config.site;
      config_maxgid = lib.optionalString (maxgid!=null) ''CONFIG_MAXGID=${builtins.toString maxgid}'';
      ghostscript_version = ghostscript.version;
  
negative.code: in
  
  stdenv.mkDerivation {
    inherit pname version;
    src = fetchurl {
      url = "mirror://sourceforge/hylafax/hylafax-${version}.tar.gz";
      inherit sha256;
  