Unverified Commit 89e6cfbd authored by Lin Jian's avatar Lin Jian Committed by GitHub
Browse files

Merge pull request #327944 from linj-fork/pr/remove-ghc-mod

emacsPackages.ghc-mod: remove
parents f9413a50 7c8b8f7b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -127,4 +127,5 @@ in
### Aliases
// lib.optionalAttrs pkgs.config.allowAliases {
  ess-R-object-popup = throw "emacsPackages.ess-R-object-popup was deleted, since the upstream repo looks abandoned."; # Added 2024-07-15
  ghc-mod = throw "emacsPackages.ghc-mod was deleted because it is deprecated, use haskell-language-server instead."; # Added 2024-07-17
}
+0 −25
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 = "Extension of haskell-mode that provides completion of symbols and documentation browsing";
    license = lib.licenses.bsd3;
  };
}