about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/editors/emacs/elisp-packages/manual-packages/lsp-bridge/hardcode-dependencies.patch
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2023-10-22 19:49:40 +0000
committerAlyssa Ross <hi@alyssa.is>2023-10-22 19:49:40 +0000
commit20437996b9a2db0a9d32391d15fbd1e8872f3baf (patch)
tree6b3287be5160b30523675178d52ba440e4267465 /nixpkgs/pkgs/applications/editors/emacs/elisp-packages/manual-packages/lsp-bridge/hardcode-dependencies.patch
parent0f33cd5208992fe4992f932374a872f7687b9a6d (diff)
parenta37d70e902fed9b9c0d1d4ac978e4373b86cc9bb (diff)
downloadnixlib-20437996b9a2db0a9d32391d15fbd1e8872f3baf.tar
nixlib-20437996b9a2db0a9d32391d15fbd1e8872f3baf.tar.gz
nixlib-20437996b9a2db0a9d32391d15fbd1e8872f3baf.tar.bz2
nixlib-20437996b9a2db0a9d32391d15fbd1e8872f3baf.tar.lz
nixlib-20437996b9a2db0a9d32391d15fbd1e8872f3baf.tar.xz
nixlib-20437996b9a2db0a9d32391d15fbd1e8872f3baf.tar.zst
nixlib-20437996b9a2db0a9d32391d15fbd1e8872f3baf.zip
Merge commit 'a37d70e902fed9b9c0d1d4ac978e4373b86cc9bb'
Diffstat (limited to 'nixpkgs/pkgs/applications/editors/emacs/elisp-packages/manual-packages/lsp-bridge/hardcode-dependencies.patch')
-rw-r--r--nixpkgs/pkgs/applications/editors/emacs/elisp-packages/manual-packages/lsp-bridge/hardcode-dependencies.patch22
1 files changed, 14 insertions, 8 deletions
diff --git a/nixpkgs/pkgs/applications/editors/emacs/elisp-packages/manual-packages/lsp-bridge/hardcode-dependencies.patch b/nixpkgs/pkgs/applications/editors/emacs/elisp-packages/manual-packages/lsp-bridge/hardcode-dependencies.patch
index 765a6c717770..2fa57207ec38 100644
--- a/nixpkgs/pkgs/applications/editors/emacs/elisp-packages/manual-packages/lsp-bridge/hardcode-dependencies.patch
+++ b/nixpkgs/pkgs/applications/editors/emacs/elisp-packages/manual-packages/lsp-bridge/hardcode-dependencies.patch
@@ -1,18 +1,24 @@
 diff --git a/lsp-bridge.el b/lsp-bridge.el
-index 3a7ff0b..ea5e496 100644
+index 278c27e..f0c67c2 100644
 --- a/lsp-bridge.el
 +++ b/lsp-bridge.el
-@@ -326,13 +326,7 @@ Setting this to nil or 0 will turn off the indicator."
+@@ -340,19 +340,7 @@ Setting this to nil or 0 will turn off the indicator."
    "Name of LSP-Bridge buffer."
    :type 'string)
  
 -(defcustom lsp-bridge-python-command (cond ((memq system-type '(cygwin windows-nt ms-dos))
--                                            (if (executable-find "pypy3.exe")
--                                                "pypy3.exe"
--                                              "python3.exe"))
--                                           (t (if (executable-find "pypy3")
--                                                  "pypy3"
--                                                "python3")))
+-                                            (cond ((executable-find "pypy3.exe")
+-                                                   "pypy3.exe")
+-                                                  ((executable-find "python3.exe")
+-                                                   "python3.exe")
+-                                                  ((executable-find "python.exe")
+-                                                   "python.exe")))
+-                                           (t (cond ((executable-find "pypy3")
+-                                                     "pypy3")
+-                                                    ((executable-find "python3")
+-                                                     "python3")
+-                                                    ((executable-find "python")
+-                                                     "python"))))
 +(defcustom lsp-bridge-python-command "@python@"
    "The Python interpreter used to run lsp_bridge.py."
    :type 'string)