anchor.diff:  
       # think about this again - and eventually make it an option
       environment.etc."firebird/firebird.conf".text = ''
  -      # RootDirectory = Restrict ${cfg.dataDir}
  -      DatabaseAccess = Restrict ${cfg.dataDir}
  -      ExternalFileAccess = Restrict ${cfg.dataDir}
  +      # RootDirectory = Restrict ${dataDir}
  +      DatabaseAccess = Restrict ${dataDir}
  +      ExternalFileAccess = Restrict ${dataDir}
         # what is this? is None allowed?
         UdfAccess = None
         # "Native" =  traditional interbase/firebird, "mixed" is windows only
  
positive.code:         # is a better way
          preStart =
            ''
              secureDir="${cfg.dataDir}/../system"
  
              mkdir -m 0700 -p \
                "${cfg.dataDir}" \
                "${cfg.pidDir}" \
                /var/log/firebird \
                "$secureDir"
  
              if ! test -e "$secureDir/security2.fdb"; then
                  cp ${firebird}/security2.fdb "$secureDir"
              fi
  
              chown -R ${cfg.user} "${cfg.pidDir}" "${cfg.dataDir}" "$secureDir" /var/log/firebird
              chmod -R 700 "${cfg.pidDir}" "${cfg.dataDir}" "$secureDir" /var/log/firebird
            '';
  
          serviceConfig.PermissionsStartOnly = true; # preStart must be run as root
  
negative.code:             reasons. See comments at the firebirdSuper derivation
          */
  
          description = ''
            Which firebird derivation to use.
          '';
        };
  
        port = mkOption {
          default = "3050";
          description = ''
            Port Firebird uses.
          '';
        };
  
        user = mkOption {
          default = "firebird";
          description = ''
            User account under which firebird runs.
          '';
        };
  
        baseDir = mkOption {
          default = "/var/db/firebird"; # ubuntu is using /var/lib/firebird/2.1/data/.. ?
          description = ''
            Location containing data/ and system/ directories.
            data/ stores the databases, system/ stores the password database security2.fdb.
          '';
        };
  
      };
  