emacs.pkgs.ghc-mod: fixup
Fixing a heinous error from [1]. Many thanks, jian-lin!
[1] 96b0956aee (diff-0f535ac756b70363a4f536c415865a08b5d9ed08140f63e6ee7b68cda5ff46d7R7)
This commit is contained in:
parent
cec578e2b4
commit
82b2fd1ffa
@ -39,7 +39,7 @@ in
|
|||||||
|
|
||||||
font-lock-plus = callPackage ./manual-packages/font-lock-plus { };
|
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 { };
|
git-undo = callPackage ./manual-packages/git-undo { };
|
||||||
|
|
||||||
|
@ -0,0 +1,25 @@
|
|||||||
|
{ 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;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user