summaryrefslogtreecommitdiff
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorWong Hoi Sing Edison <hswong3i@gmail.com>2020-08-22 09:28:57 +0800
committerWong Hoi Sing Edison <hswong3i@gmail.com>2020-08-22 09:28:57 +0800
commit41105d81f0e666cd2334d786f1c7bc062a16d24d (patch)
tree408c91cb89388044228b41ff3eb03bcf0a3ffd55 /.cirrus.yml
parent4828455055010a1376f1e83832bfa34787f3a1e7 (diff)
downloadpodman-41105d81f0e666cd2334d786f1c7bc062a16d24d.tar.gz
podman-41105d81f0e666cd2334d786f1c7bc062a16d24d.tar.bz2
podman-41105d81f0e666cd2334d786f1c7bc062a16d24d.zip
Update nix pin with `make nixpkgs`
Signed-off-by: Wong Hoi Sing Edison <hswong3i@gmail.com>
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index 964368743..1bf35e142 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -775,11 +775,11 @@ static_build_task:
build_script: |
set -ex
- mkdir -p /nix
mkdir -p .cache
- mount --bind .cache /nix
+ 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: