diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-18 15:33:19 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-18 15:33:19 +0200 |
commit | f6a149303988c53b65d3e4a27b4715bcb6644ae7 (patch) | |
tree | fa3b6e760ef6c7f675b76581e89b860f5e00d0be /nix | |
parent | c79d4243aa1d9580dae970a68aa96ec044d2d52c (diff) | |
download | utils-f6a149303988c53b65d3e4a27b4715bcb6644ae7.tar utils-f6a149303988c53b65d3e4a27b4715bcb6644ae7.tar.gz utils-f6a149303988c53b65d3e4a27b4715bcb6644ae7.tar.bz2 utils-f6a149303988c53b65d3e4a27b4715bcb6644ae7.tar.xz utils-f6a149303988c53b65d3e4a27b4715bcb6644ae7.zip |
…
Diffstat (limited to 'nix')
-rw-r--r-- | nix/module.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nix/module.nix b/nix/module.nix index 1dc8437..7d47e1a 100644 --- a/nix/module.nix +++ b/nix/module.nix | |||
@@ -33,8 +33,8 @@ let | |||
33 | 33 | ||
34 | script = let | 34 | script = let |
35 | args = [ dCfg.path dCfg.maxSize "monitor" ] | 35 | args = [ dCfg.path dCfg.maxSize "monitor" ] |
36 | + optionals (dCfg.monitorTimeout != null) ["-t" dCfg.monitorTimeout] | 36 | ++ optionals (dCfg.monitorTimeout != null) ["-t" dCfg.monitorTimeout] |
37 | + optionals (dCfg.minSleep != null) ["-s" dCfg.minSleep]; | 37 | ++ optionals (dCfg.minSleep != null) ["-s" dCfg.minSleep]; |
38 | in '' | 38 | in '' |
39 | exec -- rolling-directory ${escapeShellArgs args} | 39 | exec -- rolling-directory ${escapeShellArgs args} |
40 | ''; | 40 | ''; |