Overriding version, can't find new cargoHash

The solution in Overriding version, can't find new cargoHash - #5 by supermarin did not work for me. Kept getting ERROR: cargoHash or cargoSha256 is out of date.

I found a newer(?) solution in Nixpkgs overlay for mpd-discord-rpc is no longer working - #2 by perchun

My overlay in home-manager for a newer version of GitHub - elizagamedev/mujmap: Bridge for synchronizing email and tags between JMAP and notmuch and applying a patch:

nixpkgs = {
  overlays = [
    (final: prev: {
      mujmap = prev.mujmap.overrideAttrs (oldAttrs: rec {
        src = prev.fetchFromGitHub {
          owner = "elizagamedev";
          repo = "mujmap";
          rev = "5f700af890769185ad99d4aae9f53496bb2aa6f2";
          hash = "sha256-mSJ6uyZSaWWdhqiYNcIm7lC6PZZrZ8PSdxfu+s9MZD0=";
        };
        cargoDeps = final.rustPlatform.fetchCargoVendor {
          inherit src;
          hash = "sha256-snCDGg7Nx3ckSPNFxvu8nhVr8SO3sjWIFA0WCRqH224=";
        };
        patches = (oldAttrs.patches or [ ]) ++ [ ./mujmap.patch ];
      });
    })
  ];
};
1 Like