Sync nix registry with github

I have added my own flake to my nix.registry config so I can run the programs I have defined in it, however its not in sync with the version hosted on github using the master branch.

  nix.registry = {
    nixpkgs.flake = inputs.nixpkgs;
    unstable.flake = inputs.nixpkgs-unstable;
    tomo-nix.flake = inputs.tomo-nix;
  };

When I first tried to run one of the programs in it, it had an error and failed. I have now fixed it but when I try to run it again, I get

$ nix run tomo-nix
error: cached failure of attribute ‘packages.x86_64-linux.default’

So I cleared the cache and tried again.
However I get the error from the issue I fixed. And when I check the source in the store, I can see it is still the old code.

How do I force nix to pull the newest version of this flake for the registry?

You specified that you want these 3 entries in the flake registry to point the same versions that you have as inputs in your flake. So just nix flake update and then rebuild?

If you want the flake registry to “always automatically track master” for each of those, then your configuration is not correct for that.