summaryrefslogtreecommitdiffstats
path: root/pkgs
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/krops/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/krops/default.nix b/pkgs/krops/default.nix
index 10b96ce..b4f89b6 100644
--- a/pkgs/krops/default.nix
+++ b/pkgs/krops/default.nix
@@ -49,6 +49,7 @@ in
crossDeploy ? false,
fast ? null,
force ? false,
+ operation ? "switch",
source,
target
}: let
@@ -65,7 +66,7 @@ in
(populate { inherit backup force source; target = buildTarget'; })}
${populate { inherit backup force source; target = target'; }}
${rebuild ([
- "switch"
+ operation
] ++ lib.optionals crossDeploy [
"--no-build-nix"
] ++ lib.optionals (buildTarget' != target') [