gitlab-ci: don't dereference result symlink when copying...
This commit is contained in:
parent
503ea81054
commit
4553833fcc
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ nixCache:
|
||||||
- "nix run -f ./ third_party.nixpkgs.bash -c ./hack/populate_secrets.sh"
|
- "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\""
|
- "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"
|
- "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"
|
- "nix copy -v --to 's3://lukegb-nix-cache?endpoint=storage.googleapis.com' ./result"
|
||||||
tags:
|
tags:
|
||||||
- cacher
|
- cacher
|
||||||
|
|
Loading…
Reference in a new issue