[Nix-dev] When did nix start to do negative build caching by default, and how to undo it?
Eelco Dolstra
eelco.dolstra at logicblox.com
Thu Apr 24 10:22:41 CEST 2014
Hi,
On 23/04/14 22:57, Bjørn Forsman wrote:
> 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.
Try "nix-store --clear-failed-paths '*'" (it needs an argument).
--
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/
More information about the nix-dev
mailing list