Unverified Commit 06c59626 authored by Elis Hirwing's avatar Elis Hirwing
Browse files

emacsPackages.copilot: Switch to copilot-language-server to copilot-language-server-fhs

This is because it seems like the normal package doesn't work properly
and the FHS version was introduced, see #393260 and #391748.

This also has been reported as an issue upstream:
https://github.com/copilot-emacs/copilot.el/issues/326
parent 114ed5b6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@
  nodejs,
  s,
  melpaBuild,
  copilot-language-server,
  copilot-language-server-fhs,
}:
melpaBuild (finalAttrs: {
  pname = "copilot";
@@ -26,7 +26,7 @@ melpaBuild (finalAttrs: {
  postPatch = ''
    substituteInPlace copilot.el \
      --replace-fail "defcustom copilot-server-executable \"copilot-language-server\"" \
                     "defcustom copilot-server-executable \"${lib.getExe copilot-language-server}\""
                     "defcustom copilot-server-executable \"${lib.getExe copilot-language-server-fhs}\""
  '';

  packageRequires = [