Commit 82b2fd1f authored by Anderson Torres's avatar Anderson Torres
Browse files
parent cec578e2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -39,7 +39,7 @@ in

  font-lock-plus = callPackage ./manual-packages/font-lock-plus { };

  ghc-mod = callPackage ./manual-packages/elisp-ffi { };
  ghc-mod = callPackage ./manual-packages/ghc-mod { };

  git-undo = callPackage ./manual-packages/git-undo { };

+25 −0
Original line number Diff line number Diff line
{ lib
, melpaBuild
, haskell-mode
, haskellPackages
, writeText
}:

melpaBuild {
  pname = "ghc";

  inherit (haskellPackages.ghc-mod) version src;

  packageRequires = [ haskell-mode ];

  propagatedUserEnvPkgs = [ haskellPackages.ghc-mod ];

  recipe = writeText "recipe" ''
    (ghc-mod :repo "DanielG/ghc-mod" :fetcher github :files ("elisp/*.el"))
  '';

  meta = {
    description = "An extension of haskell-mode that provides completion of symbols and documentation browsing";
    license = lib.licenses.bsd3;
  };
}