[Nix-dev] Using ccache without changing stdenv hash?

Shea Levy shea at shealevy.com
Tue Dec 9 18:32:01 CET 2014


ccache is impure and thus should not be used for hydra.

> On Dec 9, 2014, at 5:28 PM, Wout Mertens <wout.mertens at gmail.com> wrote:
> 
> Hi all,
> 
> there is some support for ccache in the tree but nothing in the way of documentation. I gave it a shot, see https://github.com/NixOS/nixpkgs/issues/2387#issuecomment-66215017 <https://github.com/NixOS/nixpkgs/issues/2387#issuecomment-66215017>, and it seems to work however it also changes the hash of stdenv.
> 
> Is there a way to change stdenv so that ccache can be turned on or off without causing rebuilds?
> 
> I'm convinced that this would be a major boon for Hydra, which probably spends a lot of time compiling the same C/C++ files with the same preprocessed output. Likewise for developing expressions.
> 
> Wout.
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20141209/dae6c973/attachment.html 


More information about the nix-dev mailing list