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

Wout Mertens wout.mertens at gmail.com
Tue Dec 9 18:28:35 CET 2014


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, 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20141209/0c09517f/attachment.html 


More information about the nix-dev mailing list