diff options
| -rw-r--r-- | bragi.nix | 2 | ||||
| -rw-r--r-- | custom/trivmix-service.nix | 2 |
2 files changed, 3 insertions, 1 deletions
| @@ -1,7 +1,7 @@ | |||
| 1 | { config, pkgs, ... }: | 1 | { config, pkgs, ... }: |
| 2 | 2 | ||
| 3 | let | 3 | let |
| 4 | trivmixService = opts: (pkgs.callPackage ./custom/trivmix-service.nix opts).out; | 4 | trivmixService = pkgs.callPackage ./custom/trivmix-service.nix; |
| 5 | thermoprint-servant = (pkgs.callPackage ./custom/thermoprint {}).thermoprint-servant; | 5 | thermoprint-servant = (pkgs.callPackage ./custom/thermoprint {}).thermoprint-servant; |
| 6 | inherit (pkgs) lib; | 6 | inherit (pkgs) lib; |
| 7 | in rec { | 7 | 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 | |||
| 17 | connectScript = writeScript "connect" '' | 17 | connectScript = writeScript "connect" '' |
| 18 | #!${stdenv.shell} | 18 | #!${stdenv.shell} |
| 19 | 19 | ||
| 20 | PATH=${jack2Full}/bin:$PATH | ||
| 21 | |||
| 20 | ${optionalString (! isNull connectIn) "jack_connect ${connectIn} $1"} | 22 | ${optionalString (! isNull connectIn) "jack_connect ${connectIn} $1"} |
| 21 | ${optionalString (! isNull connectOut) "jack_connect $2 ${connectOut}"} | 23 | ${optionalString (! isNull connectOut) "jack_connect $2 ${connectOut}"} |
| 22 | ''; | 24 | ''; |
