Try passing --store path
continuous-integration/drone/push Build is failing Details

main
mat ess 2022-12-22 00:48:52 -05:00
parent 2ffb142634
commit 1f6e1dfb72
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
local PROD = 'production';
local STAGE = 'staging';
local NIX = 'nix --extra-experimental-features nix-command --extra-experimental-features flakes';
local NIX = 'nix --store /tmp/cache --extra-experimental-features nix-command --extra-experimental-features flakes';
local Secrets(secrets) = {
environment: {
@ -23,7 +23,7 @@ local Step(env, name, cmds, extras={}) =
image: 'nixos/nix:latest',
volumes: [
{ name: 'site', path: '/site' },
{ name: 'cache', path: '/nix/store' },
{ name: 'cache', path: '/tmp/cache' },
],
commands: cmds,
when: WhenProd(prod),