Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Leverage Cachix and GitHub actions for binary caching #46

Open
lytedev opened this issue Oct 17, 2023 · 1 comment
Open

Leverage Cachix and GitHub actions for binary caching #46

lytedev opened this issue Oct 17, 2023 · 1 comment

Comments

@lytedev
Copy link

lytedev commented Oct 17, 2023

It would be awesome to use Cachix for caching all our builds so folks don't ever actually have to build stuff themselves! Additionally, it looks like the Cachix cache has already been created and we just need to make use of it: https://app.cachix.org/cache/ssbm-nix

Is this your cache, @djanatyn? Or should we setup a different one?

@lytedev
Copy link
Author

lytedev commented Oct 17, 2023

Hold up, looks like this is already done?

https://github.com/djanatyn/ssbm-nix/blob/master/.github/workflows/builds.yaml

So we just need to add the nix config hints to the flake?

  nixConfig = {
    extra-substituters = ["ssbm-nix.cachix.org"];
    extra-trusted-public-keys = ["ssbm-nix.cachix.org-1:YN104LKAWaKQIecOphkftXgXlYZVK/IRHM1UD7WAIew="];
  };

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant