emacs.pkgs.ghc-mod: fixup

Fixing a heinous error from [1]. Many thanks, jian-lin!

[1] 96b0956aee (diff-0f535ac756b70363a4f536c415865a08b5d9ed08140f63e6ee7b68cda5ff46d7R7)
This commit is contained in:
Anderson Torres 2024-01-17 10:17:25 -03:00
parent cec578e2b4
commit 82b2fd1ffa
2 changed files with 26 additions and 1 deletions

View File

@ -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 { };

View File

@ -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;
};
}