Skip to content

Nix cache is not documented #1622

@steve-chavez

Description

@steve-chavez

Problem

There's no doc explaining how to use the Nix cache, when you do nix develop it will compile everything.

One has to hunt the echo commands from:

RUN echo "substituters = https://cache.nixos.org https://nix-postgres-artifacts.s3.amazonaws.com" >> /etc/nix/nix.conf
RUN echo "trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= nix-postgres-artifacts:dGZlQOvKcNEjvT7QEAJbcV6b6uk7VF/hWMjhYleiaLI=%" >> /etc/nix/nix.conf

Then sudo pkill nix-daemon for Nix to pick the updated settings (ref)

Solution

Document this

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions