CCache: Difference between revisions
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 | 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> | ||
=== System CCache === | === System CCache === |