From 0d142fe9cca08667a49359dccef83676ecd3541f Mon Sep 17 00:00:00 2001 From: Peter Selby Date: Wed, 22 Dec 2021 12:24:22 -0800 Subject: [PATCH] chute: path should work, but doesn't --- lib/informis/chute.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/informis/chute.nix b/lib/informis/chute.nix index fde39d1..2907e7c 100644 --- a/lib/informis/chute.nix +++ b/lib/informis/chute.nix @@ -63,12 +63,11 @@ let wantedBy = [ "chute.target" ]; partOf = [ "chute.target" ]; description = "Chute ${stage} job for ${currency}"; - path = [ stageOpts.package ]; environmentFile = stageOpts.environment-file; execStart = let jabber-string = optionalString (stageOpts.jabber-jid != null && stageOpts.jabber-target != null) "--jabber-jid=${stageOpts.jabber-jid} --target-jid=${stageOpts.jabber-target}"; - in "chute --currency=${currency} --stop-at-percent=${toString currencyOpts.stop-percentile} ${jabber-string}"; + in "${stageOpts.package}/bin/chute --currency=${currency} --stop-at-percent=${toString currencyOpts.stop-percentile} ${jabber-string}"; privateNetwork = false; addressFamilies = [ "AF_INET" ]; memoryDenyWriteExecute = false; # Needed becuz Clojure