2014-07-10 10:46:59 +02:00
|
|
|
{ stdenv, lambdabot, mueval, ghc, makeWrapper }:
|
2014-07-09 15:39:12 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "lambdabot-wrapper";
|
|
|
|
|
|
|
|
buildInputs = [ makeWrapper ];
|
|
|
|
|
|
|
|
buildCommand = ''
|
|
|
|
makeWrapper "${lambdabot}/bin/lambdabot" "$out/bin/lambdabot" \
|
2014-07-10 10:46:59 +02:00
|
|
|
--prefix PATH : "${ghc}/bin:${mueval}/bin"
|
2014-07-09 15:39:12 +02:00
|
|
|
'';
|
|
|
|
|
|
|
|
preferLocalBuild = true;
|
|
|
|
|
2014-08-11 13:01:49 +02:00
|
|
|
meta = lambdabot.meta;
|
2014-07-09 15:39:12 +02:00
|
|
|
}
|