1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00
nixpkgs/pkgs/development/libraries/haskell/lambdabot/wrapper.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;
};
}