l 1 prism: use lambdabot from nixpkgs
lambdabot is broken with LTS Haskell 8.0 so we use the commit prior
This commit is contained in:
parent
b8949604aa
commit
836a7186a0
@ -247,7 +247,13 @@ in {
|
|||||||
];
|
];
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
krebs.Reaktor.coders = {
|
krebs.Reaktor.coders = let
|
||||||
|
lambdabot = (import (pkgs.fetchFromGitHub {
|
||||||
|
owner = "NixOS"; repo = "nixpkgs";
|
||||||
|
rev = "a4ec1841da14fc98c5c35cc72242c23bb698d4ac";
|
||||||
|
sha256 = "148fpw31s922hxrf28yhrci296f7c7zd81hf0k6zs05rq0i3szgy";
|
||||||
|
}) {}).lambdabot;
|
||||||
|
in {
|
||||||
nickname = "reaktor-lass";
|
nickname = "reaktor-lass";
|
||||||
channels = [ "#coders" ];
|
channels = [ "#coders" ];
|
||||||
extraEnviron = {
|
extraEnviron = {
|
||||||
@ -263,7 +269,7 @@ in {
|
|||||||
(buildSimpleReaktorPlugin "lambdabot-pl" {
|
(buildSimpleReaktorPlugin "lambdabot-pl" {
|
||||||
pattern = "^@pl (?P<args>.*)$$";
|
pattern = "^@pl (?P<args>.*)$$";
|
||||||
script = pkgs.writeDash "lambda-pl" ''
|
script = pkgs.writeDash "lambda-pl" ''
|
||||||
exec ${pkgs.lambdabot}/bin/lambdabot \
|
exec ${lambdabot}/bin/lambdabot \
|
||||||
${indent lambdabotflags}
|
${indent lambdabotflags}
|
||||||
-e "@pl $1"
|
-e "@pl $1"
|
||||||
'';
|
'';
|
||||||
@ -271,7 +277,7 @@ in {
|
|||||||
(buildSimpleReaktorPlugin "lambdabot-type" {
|
(buildSimpleReaktorPlugin "lambdabot-type" {
|
||||||
pattern = "^@type (?P<args>.*)$$";
|
pattern = "^@type (?P<args>.*)$$";
|
||||||
script = pkgs.writeDash "lambda-type" ''
|
script = pkgs.writeDash "lambda-type" ''
|
||||||
exec ${pkgs.lambdabot}/bin/lambdabot \
|
exec ${lambdabot}/bin/lambdabot \
|
||||||
${indent lambdabotflags}
|
${indent lambdabotflags}
|
||||||
-e "@type $1"
|
-e "@type $1"
|
||||||
'';
|
'';
|
||||||
@ -279,7 +285,7 @@ in {
|
|||||||
(buildSimpleReaktorPlugin "lambdabot-let" {
|
(buildSimpleReaktorPlugin "lambdabot-let" {
|
||||||
pattern = "^@let (?P<args>.*)$$";
|
pattern = "^@let (?P<args>.*)$$";
|
||||||
script = pkgs.writeDash "lambda-let" ''
|
script = pkgs.writeDash "lambda-let" ''
|
||||||
exec ${pkgs.lambdabot}/bin/lambdabot \
|
exec ${lambdabot}/bin/lambdabot \
|
||||||
${indent lambdabotflags}
|
${indent lambdabotflags}
|
||||||
-e "@let $1"
|
-e "@let $1"
|
||||||
'';
|
'';
|
||||||
@ -287,7 +293,7 @@ in {
|
|||||||
(buildSimpleReaktorPlugin "lambdabot-run" {
|
(buildSimpleReaktorPlugin "lambdabot-run" {
|
||||||
pattern = "^@run (?P<args>.*)$$";
|
pattern = "^@run (?P<args>.*)$$";
|
||||||
script = pkgs.writeDash "lambda-run" ''
|
script = pkgs.writeDash "lambda-run" ''
|
||||||
exec ${pkgs.lambdabot}/bin/lambdabot \
|
exec ${lambdabot}/bin/lambdabot \
|
||||||
${indent lambdabotflags}
|
${indent lambdabotflags}
|
||||||
-e "@run $1"
|
-e "@run $1"
|
||||||
'';
|
'';
|
||||||
@ -295,7 +301,7 @@ in {
|
|||||||
(buildSimpleReaktorPlugin "lambdabot-kind" {
|
(buildSimpleReaktorPlugin "lambdabot-kind" {
|
||||||
pattern = "^@kind (?P<args>.*)$$";
|
pattern = "^@kind (?P<args>.*)$$";
|
||||||
script = pkgs.writeDash "lambda-kind" ''
|
script = pkgs.writeDash "lambda-kind" ''
|
||||||
exec ${pkgs.lambdabot}/bin/lambdabot \
|
exec ${lambdabot}/bin/lambdabot \
|
||||||
${indent lambdabotflags}
|
${indent lambdabotflags}
|
||||||
-e "@kind $1"
|
-e "@kind $1"
|
||||||
'';
|
'';
|
||||||
@ -303,7 +309,7 @@ in {
|
|||||||
(buildSimpleReaktorPlugin "lambdabot-kind" {
|
(buildSimpleReaktorPlugin "lambdabot-kind" {
|
||||||
pattern = "^@kind (?P<args>.*)$$";
|
pattern = "^@kind (?P<args>.*)$$";
|
||||||
script = pkgs.writeDash "lambda-kind" ''
|
script = pkgs.writeDash "lambda-kind" ''
|
||||||
exec ${pkgs.lambdabot}/bin/lambdabot \
|
exec ${lambdabot}/bin/lambdabot \
|
||||||
${indent lambdabotflags}
|
${indent lambdabotflags}
|
||||||
-e "@kind $1"
|
-e "@kind $1"
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user