Closed aidalgol closed 1 month ago
Does it work if you set cachix.enable = false;
?
I stop getting the error with that set.
Same problem here, with the same nix.conf
file (by this I mean I also have devenv as a substituter and the key as a trusted public key, and I'm not a trusted user), devenv version and error. Adding
extra-substituters = https://devenv.cachix.org
extra-trusted-public-keys =
at the end of nix.conf
doesn't solve the problem (unsurprisingly), and neither does adding myself as a trusted user (it wouldn't be a satisfying solution if it did work though).
I'll release 1.0.3 shortly to address this.
I'm still having this issue with 1.0.3.
@aidalgol can you share more what error you get an what you tried?
I thought I still had this issue with 1.0.3 as well but I had actually misunderstood what the fix was supposed to do, so I'll say it here explicitely: I thought it would change the source code so that you could have cachix.enable = true
while keeping track of your substituters manually, whereas it's actually just changing the error message to tell you that if you're not a trusted user, you should both add devenv to your trusted substituters and disable cachix.
Ah, I misunderstood what the fix was then. Thanks.
Describe the bug I have the devenv Cachix cache set as a substituter in my NixOS configuration, but I still get the cache warning when activating the direnv environment created by
devenv init
.To reproduce
Contents of
/etc/nix/nix.conf
:Creating a fresh devenv project:
Version