anchor.diff:    ###### implementation
   
     config = mkIf cfg.enable {
  -    environment.systemPackages = [ pkgs.ipfs ];
  +    environment.systemPackages = [ wrapped ];
   
       users.extraUsers = mkIf (cfg.user == "ipfs") {
         ipfs = {
  
positive.code: with lib;
  
  let
    inherit (pkgs) ipfs;
  
    cfg = config.services.ipfs;
  
    ipfsFlags = ''${if cfg.autoMigrate then "--migrate" else ""} ${if cfg.enableGC then "--enable-gc" else ""} ${toString cfg.extraFlags}'';
  
  in
  
  {
  
negative.code:         install -m 0755 -o ${cfg.user} -g ${cfg.group} -d ${cfg.dataDir}
        '';
  
        environment = pathEnv;
  
        script =  ''
          if [[ ! -d ${cfg.dataDir}/.ipfs ]]; then
            ${ipfs}/bin/ipfs init ${optionalString cfg.emptyRepo "-e"}
          fi
          ${ipfs}/bin/ipfs --local config Addresses.API ${cfg.apiAddress}
  