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
Problem
There's no doc explaining how to use the Nix cache, when you do
nix developit will compile everything.One has to hunt the
echocommands from:postgres/docker/nix/Dockerfile
Lines 3 to 5 in 1772a43
Then
sudo pkill nix-daemonfor Nix to pick the updated settings (ref)Solution
Document this