Closed musjj closed 4 months ago
:+1: lets try it out!
It looks like it's not getting pushed:
Warning: No push credentials found. Ignoring the 'useDaemon' option. Pushing is disabled because neither signingKey nor authToken are set (or are empty?) in your YAML file.
Did you add the CACHIX_AUTH_TOKEN
secret to the GitHub repository?
Spoke too soon, didn't see the latest commit :smiley:. It should be working now, but I'll test it out.
I saw that it just successfully uploaded something!
Yep, tested it on my end and it works :tada:
For any Nix users reading, just add the following to your nix.settings
:
substituters = [ "https://gitu.cachix.org" ];
trusted-public-keys =
[ "gitu.cachix.org-1:iUIaNys1l3W1LF/M8OXzaTl7N/OinGOlzdUJUSc+5eY=" ];
And you shouldn't need to ever build gitu again!
@musjj perhaps this should be in the readme. It's becoming a bit long, but that's fine. At some point I'd like to split it up into several pages.
This adds a binary cache so that Nix users don't have to build gitu on their machine.
For this to work, the repo owner needs to register their project on Cachix and add the secret token to the GitHub repo. Instructions can be found from the official tutorial here:
For this PR, I'm using
CACHIX_AUTH_TOKEN
.