| 14 Aug 2024 |
caniko | but will nix flake update --update-input automatically start using cachix? | 19:14:44 |
SomeoneSerge (matrix works sometimes) | This is unrelated to cachix, this just pins a different nixpkgs version. When nix "builds" a derivation it looks at whether its inputs are available, and if not it builds or substitutes them, recursively. Which substituters to use (including cachix) is a global nix configuration. | 19:19:35 |
SomeoneSerge (matrix works sometimes) | So if you pick a particular nixpkgs commit and look at its pytorch, it'll correspond to a hash, and if the substituter (cachix) says it knows this hash you'll end up downloading the prebuilt thing instead of running the expensive build | 19:20:33 |
| kaya 𖤐 changed their profile picture. | 19:52:20 |