Try mounting nix/store directly again
continuous-integration/drone/push Build is passing Details

main
mat ess 2022-12-22 01:22:34 -05:00
parent f2634b2645
commit 44a65b4f90
1 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ local STAGE = 'staging';
local NIX = 'nix --extra-experimental-features nix-command --extra-experimental-features flakes ';
local VOLUMES = [
{ name: 'site', path: '/site' },
{ name: 'cache', path: '/tmp/cache' },
{ name: 'cache', path: '/nix/store' },
];
local Secrets(secrets) = {
@ -45,7 +45,7 @@ local NixStep(env) =
local prod = env == PROD;
local output = if prod then '' else ' .#staging-site';
Step(env, 'nix build', [
NIX + 'build --store /tmp/cache --eval-store local' + output,
NIX + 'build' + output,
'cp -r result/* /site/',
]);