summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/Reaktor/shack-correct.nix
blob: 8f30807f14b22f3895df1026f825a8dd0009169d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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'     : {  }})
  '';
}