Skip to content

Ccache

programs.ccache.cacheDir

CCache directory Type: path

Default

"/var/cache/ccache"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/ccache.nix

programs.ccache.enable

Whether to enable CCache, a compiler cache for fast recompilation of C/C++ code. Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/ccache.nix

programs.ccache.group

Group owner of CCache directory Type: string

Default

"nixbld"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/ccache.nix

programs.ccache.owner

Owner of CCache directory Type: string

Default

"root"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/ccache.nix

programs.ccache.packageNames

Nix top-level packages to be compiled using CCache Type: list of string

Default

[ ]

Example

["wxGTK32""ffmpeg""libav_all"]

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/ccache.nix