mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
17 lines
336 B
Nix
17 lines
336 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 = lambdabot.meta;
|
|
}
|