Skip to content

Commit

Permalink
hydra: 0-unstable-2024-09-15 -> 0-unstable-2024-09-20 (NixOS#338902)
Browse files Browse the repository at this point in the history
  • Loading branch information
NickCao authored Sep 20, 2024
2 parents 1845cf7 + 2ff3fa0 commit a1d9266
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -515,10 +515,12 @@ in
''
set -eou pipefail
compression=$(sed -nr 's/compress_build_logs_compression = ()/\1/p' ${baseDir}/hydra.conf)
if [[ $compression == zstd ]]; then
if [[ $compression == "" ]]; then
compression="bzip2"
elif [[ $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" --force --quiet
'';
startAt = "Sun 01:45";
serviceConfig.Slice = "system-hydra.slice";
Expand Down
6 changes: 3 additions & 3 deletions pkgs/by-name/hy/hydra/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -124,13 +124,13 @@ let
in
stdenv.mkDerivation (finalAttrs: {
pname = "hydra";
version = "0-unstable-2024-09-15";
version = "0-unstable-2024-09-20";

src = fetchFromGitHub {
owner = "NixOS";
repo = "hydra";
rev = "b6f44b5cd020d95c405e149e4c3a0e9dc785e31a";
hash = "sha256-dXDOX6IvAeznNoh73P2QWstBJ/jqfzEKjgNvdfsGTuY=";
rev = "44248d3cf4162944ec2e6a45f8cc058758bf5a86";
hash = "sha256-WJ7M/1a8j5gRJJVzCJL6JrkGPckD5ZhKzTlmiKNdtm0=";
};

buildInputs = [
Expand Down

0 comments on commit a1d9266

Please sign in to comment.