[Nix-dev] When did nix start to do negative build caching by default, and how to undo it?

Bjørn Forsman bjorn.forsman at gmail.com
Wed Apr 23 22:57:54 CEST 2014


On 23 April 2014 22:47, Bjørn Forsman <bjorn.forsman at gmail.com> wrote:
[...]
> Any ideas about 1) when/why nix started doing negative caching by
> default and 2) why "nix-store --clear-failed-paths" doesn't work?

Mystery 1) solved. I looked in /etc/nix/nix.conf and found

  # Hydra needs caching of build failures.
  build-cache-failure = true

I have (attempted to) setup a hydra instance on my system, and it
seems to have added the above config lines.

Still wondering about question 2 though.

Best regards,
Bjørn Forsman


More information about the nix-dev mailing list