gitlab-ci: nix-build doesn't take -f

This commit is contained in:
Luke Granger-Brown 2020-05-08 17:51:22 +01:00
parent 333ad15d07
commit 244f7d11d8

View file

@ -2,7 +2,7 @@ nixCache:
image: "nixos/nix:latest"
script:
- "test -d cache || mkdir cache"
- "nix-build -f ./ci-root.nix --option extra-substituters \"s3://lukegb-nix-cache?endpoint=storage.googleapis.com file://$PWD/cache\""
- "nix-build ./ci-root.nix --option extra-substituters \"s3://lukegb-nix-cache?endpoint=storage.googleapis.com file://$PWD/cache\""
- "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: