Closed lukego closed 2 years ago
This is saying it's not going to use the cache
warning: ignoring untrusted substituter 'https://tweag-monad-bayes.cachix.org'
warning: ignoring untrusted substituter 'https://tweag-wasm.cachix.org'
What I don't know is why.
Can you look in /etc/nix
and see what you have? You should have something like
build-users-group = nixbld
experimental-features = nix-command flakes
trusted-users = your name
For this to take effect, I am pretty sure you have to stop and restart the nix daemon.
@idontgetoutmuch Thanks! I didn't realize that I needed to be in trusted-users
. This seems to have gotten the cache working :+1:
Fwiw, I think (or would hope) that cachix use ....
would either update the nix conf accordingly, or flag that further changes might be required.
Describe the bug Starting a development environment with
nix develop
takes a long time (hours.)I am not an experienced Haskell programmer but I suspect that this is unexpected.
To Reproduce Run
nix develop
in top level of repo on a NixOS machine.Answer affirmative when offered binary caches.
Expected behavior Open a development environment in minutes by downloading cached binaries.
Environment
Additional context
Transcript after approximately one hour:
This is the first time I tried to setup a Haskell development environment via Nix.