summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/Reaktor/shack-correct.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2015-10-08 16:51:57 +0200
committermakefu <github@syntax-fehler.de>2015-10-08 16:51:57 +0200
commit5f5c1f5f661a2c4236fb62bc4c0ec7d43ae7a5b1 (patch)
tree424195533e5bd54763ab79dd91ffc9175a30236a /makefu/2configs/Reaktor/shack-correct.nix
parent36d43bf73f498228ff540e86e6dd6596a353a0da (diff)
m 2 Reaktor: add shack-correct, update pnp Reaktor Channels
Diffstat (limited to 'makefu/2configs/Reaktor/shack-correct.nix')
-rw-r--r--makefu/2configs/Reaktor/shack-correct.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/makefu/2configs/Reaktor/shack-correct.nix b/makefu/2configs/Reaktor/shack-correct.nix
new file mode 100644
index 00000000..8f30807f
--- /dev/null
+++ b/makefu/2configs/Reaktor/shack-correct.nix
@@ -0,0 +1,20 @@
+{ config, lib, pkgs, ... }:
+
+with pkgs;
+let
+ script = pkgs.substituteAll ( {
+ name="shack-correct";
+ isExecutable=true;
+ dir = "";
+ src = ./shack-correct.sh;
+ });
+in {
+ krebs.Reaktor.extraConfig = ''
+ public_commands.insert(0,{
+ 'capname' : "shack-correct",
+ 'pattern' : '^(?P<args>.*Shack.*)$$',
+ 'argv' : ["${script}"],
+ 'env' : { }})
+ '';
+}
+