gitlab-ci: don't dereference result symlink when copying...

This commit is contained in:
Luke Granger-Brown 2020-11-06 05:17:02 +00:00
parent 503ea81054
commit 4553833fcc

View file

@ -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