Closed budimanjojo closed 1 month ago
I believe you want to use pkgs.fetchFromGitHub
to fetch a different source here:
config.catppuccin.sources.tmux = pkgs.fetchFromGitHub {
owner = "catppuccin";
repo = "tmux";
revision = "c3fab98ab4248a2a78c8193ad48f0991b7bfa1e3";
hash = "";
};
When you run this at first it will warn you about a hash mismatch since the hash is empty, you can just put the suggested hash in and then build again.
Thanks! Yes it works!
Hello, I'm trying to use the latest
catppuccin/tmux
source. But it doesn't seem to work. What I have done in my home-manager configuration:I was hoping that it will ask me to change the
hash
or something but it didn't. And the generated nix store is still using the ref from this repo. I checked the source code ofmkGitSource
here: https://github.com/catppuccin/nix/blob/96cf8b4a05fb23a53c027621b1147b5cf9e5439f/.sources/default.nix#L24-L46 and it seems likehash
is not used forGit
, so I changed the type toGitRelease
and it still doesn't take my source. Is there something that I miss? Thanks before!