Jump to content

CCache: Difference between revisions

3 bytes added ,  18 January 2023
no edit summary
imported>Terinjokes
(rewrote to use NixOS module and to cleanup non-nixos instructions)
imported>Terinjokes
No edit summary
Line 61: Line 61:
</syntaxhighlight>
</syntaxhighlight>


Note, that if the package is a top-level package, you can also add it to the <code>programs.ccache.packageNames</code> list.
Some packages do not use <code>stdenv</code> directly. You may need to plumb it through other dependencies first.
 
Note, that if the package is a top-level package, you may instead add it to the <code>programs.ccache.packageNames</code> list.


<syntaxhighlight lang="nix">
<syntaxhighlight lang="nix">
programs.ccache.packageNames = [ "ffmpeg" ];
programs.ccache.packageNames = [ "ffmpeg" ];
</syntaxhighlight>
</syntaxhighlight>
Some packages do not use <code>stdenv</code> directly. You may need to plumb it through other dependencies first.


=== System CCache ===
=== System CCache ===
Anonymous user