anchor.diff:  let
     cfg = config.services.gitolite;
     pubkeyFile = pkgs.writeText "gitolite-admin.pub" cfg.adminPubkey;
  +  hooks = lib.concatMapStrings (hook: "${hook} ") cfg.commonHooks;
   in
   {
     options = {
  
positive.code:           Initial administrative public key for Gitolite. This should
            be an SSH Public Key. Note that this key will only be used
            once, upon the first initialization of the Gitolite user.
          '';
        };
      };
  
negative.code:         if [ ! -d repositories ]; then
            gitolite setup -pk ${pubkeyFile}
          fi
          if [ -n "${hooks}" ]; then
            cp ${hooks} .gitolite/hooks/common/
            chmod +x .gitolite/hooks/common/*
          fi
          gitolite setup # Upgrade if needed
        '';
      };
  