From ee5d39b153a5d5775a5c0dbaca6d015d7aa2a8c8 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Fri, 8 May 2020 19:12:02 +0100 Subject: [PATCH] gitlab-ci: reorder substituters --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fad10bc094..f8538364d8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,7 +4,7 @@ nixCache: - "mkdir -p ops/secrets" - "cp ${OPS_SECRETS_DEFAULT_NIX} ops/secrets/default.nix" - "test -d cache || mkdir cache" - - "nix-build ./ci-root.nix --option extra-substituters \"s3://lukegb-nix-cache?endpoint=storage.googleapis.com&trusted=1 file://$PWD/cache?trusted=1\"" + - "nix-build ./ci-root.nix --option substituters \"file://$PWD/cache?trusted=1 https://cache.nixos.org s3://lukegb-nix-cache?endpoint=storage.googleapis.com&trusted=1\"" - "nix copy --to 'file://cache' -f ./ci-root.nix" - "nix copy --to 's3://lukegb-nix-cache?endpoint=storage.googleapis.com' -f ./ci-root.nix" cache: