Skip to content

Commit

Permalink
set a default for hydra-compress-logs service
Browse files Browse the repository at this point in the history
follow up from 99ca560
  • Loading branch information
zowoq committed Sep 8, 2024
1 parent 2d79b0a commit 5cec1fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos-modules/hydra.nix
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ in
if [[ $compression == zstd ]]; then
compression="zstd --rm"
fi
find ${baseDir}/build-logs -type f -name "*.drv" -mtime +3 -size +0c | xargs -r $compression --force --quiet
find ${baseDir}/build-logs -type f -name "*.drv" -mtime +3 -size +0c | xargs -r ''${compression:-bzip2} --force --quiet
'';
startAt = "Sun 01:45";
};
Expand Down

0 comments on commit 5cec1fc

Please sign in to comment.