ccache: recommend ignoring random_seed

Fixes: https://github.com/NixOS/nixpkgs/issues/109033
This commit is contained in:
Thomas Bereknyei
2025-05-30 00:28:58 -04:00
parent 6bfd766366
commit 70ac7f8bd8
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -81,6 +81,7 @@ in
ccacheWrapper = super.ccacheWrapper.override {
extraConfig = ''
export CCACHE_COMPRESS=1
export CCACHE_SLOPPINESS=random_seed
export CCACHE_DIR="${cfg.cacheDir}"
export CCACHE_UMASK=007
if [ ! -d "$CCACHE_DIR" ]; then
+1
View File
@@ -7145,6 +7145,7 @@ with pkgs;
# ccacheWrapper = pkgs.ccacheWrapper.override {
# extraConfig = ''
# export CCACHE_COMPRESS=1
# export CCACHE_SLOPPINESS=random_seed
# export CCACHE_DIR=/var/cache/ccache
# export CCACHE_UMASK=007
# '';