summaryrefslogtreecommitdiffstats
path: root/pkgs
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2022-06-07 16:13:04 +0200
committerlassulus <lassulus@lassul.us>2022-07-26 21:02:05 +0200
commit117b0b32cd2038a503e3e9e122ab99d0761b1581 (patch)
tree442f05e1850224c8e6853494493861acffe83faf /pkgs
parent89e5e67659bbbf0da53cc2cc5dea644b9a2301f6 (diff)
krops writeTest: make trace optional
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/krops/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/krops/default.nix b/pkgs/krops/default.nix
index 7fe8370..10b96ce 100644
--- a/pkgs/krops/default.nix
+++ b/pkgs/krops/default.nix
@@ -81,7 +81,8 @@ in
backup ? false,
force ? false,
source,
- target
+ target,
+ trace ? false
}: let
target' = lib.mkTarget target;
in
@@ -94,7 +95,7 @@ in
-A system \
--keep-going \
--no-out-link \
- --show-trace \
+ ${lib.optionalString trace "--show-trace"} \
'<nixpkgs/nixos>'
'';
}