aboutsummaryrefslogtreecommitdiffstats
path: root/pkgs
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/krops/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/krops/default.nix b/pkgs/krops/default.nix
index 2d3395d..0f32ae1 100644
--- a/pkgs/krops/default.nix
+++ b/pkgs/krops/default.nix
@@ -16,22 +16,22 @@ in
];
};
- writeDeploy = name: { source, target }: let
+ writeDeploy = name: { force ? false, source, target }: let
target' = lib.mkTarget target;
in
writeDash name ''
set -efu
- ${populate { inherit source; target = target'; }}
+ ${populate { inherit force source; target = target'; }}
${rebuild target'}
'';
- writeTest = name: { source, target }: let
+ writeTest = name: { force ? false, source, target }: let
target' = lib.mkTarget target;
in
assert lib.isLocalTarget target';
writeDash name ''
set -efu
- ${populate { inherit source; target = target'; }}
+ ${populate { inherit force source; target = target'; }}
${nix}/bin/nix-build \
-A system \
-I ${target'.path} \