From d88973bfbfc285fe2291ed606a271db26e0b51e8 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 9 Mar 2017 16:42:35 +0100 Subject: Fix trivmix-service --- bragi.nix | 2 +- custom/trivmix-service.nix | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/bragi.nix b/bragi.nix index 938206a9..69717890 100644 --- a/bragi.nix +++ b/bragi.nix @@ -1,7 +1,7 @@ { config, pkgs, ... }: let - trivmixService = opts: (pkgs.callPackage ./custom/trivmix-service.nix opts).out; + trivmixService = pkgs.callPackage ./custom/trivmix-service.nix; thermoprint-servant = (pkgs.callPackage ./custom/thermoprint {}).thermoprint-servant; inherit (pkgs) lib; in rec { diff --git a/custom/trivmix-service.nix b/custom/trivmix-service.nix index 7243f5e1..04f1634b 100644 --- a/custom/trivmix-service.nix +++ b/custom/trivmix-service.nix @@ -17,6 +17,8 @@ let connectScript = writeScript "connect" '' #!${stdenv.shell} + PATH=${jack2Full}/bin:$PATH + ${optionalString (! isNull connectIn) "jack_connect ${connectIn} $1"} ${optionalString (! isNull connectOut) "jack_connect $2 ${connectOut}"} ''; -- cgit v1.2.3