20 lines
374 B
Nix
20 lines
374 B
Nix
{ stdenv, lambdabot, mueval, ghc, makeWrapper }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "lambdabot-wrapper";
|
|
|
|
buildInputs = [ makeWrapper ];
|
|
|
|
buildCommand = ''
|
|
makeWrapper "${lambdabot}/bin/lambdabot" "$out/bin/lambdabot" \
|
|
--prefix PATH : "${ghc}/bin:${mueval}/bin"
|
|
'';
|
|
|
|
preferLocalBuild = true;
|
|
|
|
meta = {
|
|
description = lambdabot.meta.description;
|
|
};
|
|
}
|
|
|