From 4553833fcc049ddfb73d34a45282cb76ddb64d84 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Fri, 6 Nov 2020 05:17:02 +0000 Subject: [PATCH] gitlab-ci: don't dereference result symlink when copying... --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d135309de2..6aec03c756 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,7 +13,7 @@ nixCache: - "nix run -f ./ third_party.nixpkgs.bash -c ./hack/populate_secrets.sh" - "nix build -v -f ./ci-root.nix --substituters \"https://cache.nixos.org/ s3://lukegb-nix-cache?endpoint=storage.googleapis.com&trusted=1\"" - "rm /nix/var/nix/gcroots/per-user/$USER/last-built-systems || true" - - "cp ./result /nix/var/nix/gcroots/per-user/$USER/last-built-systems" + - "cp -P ./result /nix/var/nix/gcroots/per-user/$USER/last-built-systems" - "nix copy -v --to 's3://lukegb-nix-cache?endpoint=storage.googleapis.com' ./result" tags: - cacher