Code Monkey home page Code Monkey logo

cache-it's Introduction

Binary cache for everything

GitHub Actions Workflow Status

An up-to-date binary cache for several projects. Builds are generated nightly to ensure the latest version is always cached.

System support

The binary caches try to have binaries for all supported platforms, but generally

  • x86_64-linux
  • aarch64-linux
  • x86_64-darwin
  • aarch64-darwin

Caches

Unless noted otherwise, every cache has full support for the relevant project's supported systems.

Usage

Substitute the relevant CACHE_NAME (e.g. deploy-rs) and CACHE_KEY (e.g. deploy-rs.cachix.org-1:xfNobmiwF/vzvK1gpfediPwpdIP0rpDV2rYqx40zdSI=) into the below snippets to use the caches.

Flake-based system

To use the binary cache for nixos systems configured via flake, first add the cache as a substituter and then trust the public key.

nix.settings = {
  substituters = [ "https://CACHE_NAME.cachix.org" ];
  trusted-public-keys = [ "CACHE_KEY" ];
};

Non-flake system

To use the binary cache, add it to your nix.conf.

extra-substituters = https://CACHE_NAME.cachix.org
extra-trusted-public-keys = CACHE_KEY

Per-flake configuration

Flakes can suggest nix.conf changes when evaluated via the top-level nixosConfig attribute. To add the cache for users of your flake, add the following to your flake

{
  input = { ... };
  outputs = { ... };
  nixConfig = {
    extra-substituters = [ "https://CACHE_NAME.cachix.org" ];
    extra-trusted-public-keys = [ "CACHE_KEY" ];
  };
}

cache-it's People

Contributors

mibmo avatar

Stargazers

Joonas Rautiola avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.