Try mounting nix/store directly again
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
f2634b2645
commit
44a65b4f90
|
@ -3,7 +3,7 @@ local STAGE = 'staging';
|
||||||
local NIX = 'nix --extra-experimental-features nix-command --extra-experimental-features flakes ';
|
local NIX = 'nix --extra-experimental-features nix-command --extra-experimental-features flakes ';
|
||||||
local VOLUMES = [
|
local VOLUMES = [
|
||||||
{ name: 'site', path: '/site' },
|
{ name: 'site', path: '/site' },
|
||||||
{ name: 'cache', path: '/tmp/cache' },
|
{ name: 'cache', path: '/nix/store' },
|
||||||
];
|
];
|
||||||
|
|
||||||
local Secrets(secrets) = {
|
local Secrets(secrets) = {
|
||||||
|
@ -45,7 +45,7 @@ local NixStep(env) =
|
||||||
local prod = env == PROD;
|
local prod = env == PROD;
|
||||||
local output = if prod then '' else ' .#staging-site';
|
local output = if prod then '' else ' .#staging-site';
|
||||||
Step(env, 'nix build', [
|
Step(env, 'nix build', [
|
||||||
NIX + 'build --store /tmp/cache --eval-store local' + output,
|
NIX + 'build' + output,
|
||||||
'cp -r result/* /site/',
|
'cp -r result/* /site/',
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue