From 3ae2c5ce8ea30842976af574d3c64b87b8157d22 Mon Sep 17 00:00:00 2001 From: niten Date: Tue, 14 Dec 2021 14:12:40 -0800 Subject: [PATCH] toString for percentile --- lib/informis/chute.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/informis/chute.nix b/lib/informis/chute.nix index 590493f..e5d935d 100644 --- a/lib/informis/chute.nix +++ b/lib/informis/chute.nix @@ -2,6 +2,8 @@ with lib; let + cfg = config.informis.chute; + currencyOpts = { ... }: { options = { stop-percentile = mkOption { @@ -48,7 +50,7 @@ let description = "Chute ${stage} job for ${currency}"; path = [ package ]; environmentFile = credential-file; - execStart = "chute --currency=${currency} --stop-at-percent=${stop-at-percent}"; + execStart = "chute --currency=${currency} --stop-at-percent=${toString stop-at-percent}"; privateNetwork = false; addressFamilies = [ "AF_INET" ]; };