From 1c1314f667730264c91f75d50f679ef87c8a6e3a Mon Sep 17 00:00:00 2001 From: makefu Date: Thu, 1 Jun 2017 10:13:14 +0200 Subject: s 2 muell_caller: fix derivation --- shared/2configs/shack/muell_caller.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'shared/2configs') diff --git a/shared/2configs/shack/muell_caller.nix b/shared/2configs/shack/muell_caller.nix index 613ed2e4f..2d8d78e33 100644 --- a/shared/2configs/shack/muell_caller.nix +++ b/shared/2configs/shack/muell_caller.nix @@ -7,12 +7,12 @@ let src = pkgs.fetchgit { url = "https://github.com/shackspace/muell_caller/"; rev = "bbd4009"; - sha256 = "06xaa1j6sfyvvdxg0366fcslhn478anqh4m5hljyf0z29knvz7pg"; + sha256 = "1bfnfl2vdh0p5wzyz5p48qh04vvsg2445avg86fzhzragx25fqv0"; }; buildInputs = [ (pkgs.python3.withPackages (pythonPackages: with pythonPackages; [ docopt - requests + requests2 paramiko python ])) @@ -23,12 +23,12 @@ let }; cfg = "${toString }/tell.json"; in { - systemd.services.mqtt_sub = { + systemd.services.call_muell = { description = "call muell"; wantedBy = [ "multi-user.target" ]; serviceConfig = { User = "nobody"; # TODO separate user - ExecStartPre = writeDash "call-muell-pre" '' + ExecStartPre = pkgs.writeDash "call-muell-pre" '' cp ${cfg} /tmp/tell.json chown nobody /tmp/tell.json ''; -- cgit v1.2.3