add ccache path to test ccache

This commit is contained in:
2023-07-15 16:25:24 +08:00
parent 7e4fd5c342
commit 503d03d293

View File

@@ -17,7 +17,7 @@ inputs:
)
++ ( with inputs.pkgs.pkgsCross.mingwW64.buildPackages; [ gcc ] );
config.programs.ccache.enable = true;
# config.nix.settings.extra-sandbox-paths = [ inputs.config.programs.ccache.cacheDir ];
config.nix.settings.extra-sandbox-paths = [ inputs.config.programs.ccache.cacheDir ];
# config.nixpkgs.config.replaceStdenv = { pkgs }: pkgs.ccacheStdenv;
# only replace stdenv for large and tested packages
# config.programs.ccache.packageNames = [ "webkitgtk" "libreoffice" "tensorflow" "linux" "chromium" ];