Cuda Maintainers ccache

This commit is contained in:
2024-03-04 19:34:57 -05:00
parent 71c24f64bf
commit 35204373da

View File

@@ -1,5 +1,5 @@
{ config, pkgs, lib, ... }: {
nixpkgs.overlays = [
nixpkgs.overlays = [
(self: super: {
ccacheWrapper = super.ccacheWrapper.override {
extraConfig = ''
@@ -25,6 +25,14 @@ nixpkgs.overlays = [
'';
};
})
];
nix.settings.extra-sandbox-paths = [ config.programs.ccache.cacheDir ];
];
nix.settings.extra-sandbox-paths = [ config.programs.ccache.cacheDir ];
nix.settings = {
substituters = [
"https://cuda-maintainers.cachix.org"
];
trusted-public-keys = [
"cuda-maintainers.cachix.org-1:0dq3bujKpuEPMCX6U4WylrUDZ9JyUG0VpVZa7CNfq5E="
];
};
}