From 6ad67cd6c16d84cee34a5e101c9ca7ddf7772415 Mon Sep 17 00:00:00 2001 From: Wong Hoi Sing Edison Date: Fri, 11 Sep 2020 13:38:37 +0800 Subject: Update nix pin with `make nixpkgs` Also backport changes from https://github.com/cri-o/cri-o/pull/4065/files#diff-1d37e48f9ceff6d8030570cd36286a61R189-R197 Signed-off-by: Wong Hoi Sing Edison --- .cirrus.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to '.cirrus.yml') diff --git a/.cirrus.yml b/.cirrus.yml index 9d220c69a..a11bbbe61 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -594,12 +594,14 @@ static_build_task: mv .cache /nix if [[ -z $(ls -A /nix) ]]; then podman run --rm --privileged -ti -v /:/mnt nixos/nix cp -rfT /nix /mnt/nix; fi podman run --rm --privileged -ti -v /nix:/nix -v ${PWD}:${PWD} -w ${PWD} nixos/nix nix --print-build-logs --option cores 8 --option max-jobs 8 build --file nix/ - mv /nix .cache - chown -Rf $(whoami) .cache binaries_artifacts: path: "result/bin/podman" + save_cache_script: | + mv /nix .cache + chown -Rf $(whoami) .cache + darwin_build_task: depends_on: -- cgit v1.2.3-54-g00ecf