summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bragi.nix2
-rw-r--r--custom/trivmix-service.nix2
2 files changed, 3 insertions, 1 deletions
diff --git a/bragi.nix b/bragi.nix
index 938206a9..69717890 100644
--- a/bragi.nix
+++ b/bragi.nix
@@ -1,7 +1,7 @@
1{ config, pkgs, ... }: 1{ config, pkgs, ... }:
2 2
3let 3let
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;
7in rec { 7in 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 '';