- Added Nix distributed build configuration for multiple machines. - Introduced caching setup with substituters and sandbox paths. - Enabled optional build configurations with ccache support.
17 lines
253 B
Nix
17 lines
253 B
Nix
{ config
|
|
, lib
|
|
, pkgs
|
|
, ...
|
|
}:
|
|
with lib;
|
|
with lib.metacfg;
|
|
let
|
|
cfg = config.metacfg.build;
|
|
in
|
|
{
|
|
options.metacfg.build = with types; {
|
|
enable = mkBoolOpt false "Whether or not to enable the build config.";
|
|
};
|
|
|
|
config = mkIf cfg.enable { };
|
|
}
|