Closed psibi closed 3 years ago
Tested that the CI pases fine in my fork. And this change seems to have fixed it in my NixOS setup.
Thanks for opening this! This lgtm, but curious what @phikal thinks
I'm not familiar with Helm, so I cannot say much. Could @psibi explain what the issue specifically with NixOS is in more detail?
@phikal This was what was happening in NixOS:
This is my configuration:
(use-package dumb-jump
:ensure t
:bind (("M-g o" . dumb-jump-go-other-window)
("M-g b" . dumb-jump-back))
:config (progn
(setq dumb-jump-selector 'helm)
(setq dumb-jump-force-searcher 'rg)))
Steps to reproduce:
dumb-jump-prompt-user-for-choice: Invalid function: helm-build-sync-source
A quick google suggests that this is a issue in Nix systems: https://github.com/alphapapa/org-ql/issues/60#issuecomment-559910327
I applied the same fix of org-ql
in dumb-jump
and it started working fine for me. Also it seems other nix users of dumb-jump
are facing the same issue: https://github.com/jacktasia/dumb-jump/issues/224#issuecomment-562897799 Unfortunately, I didn't dig more deeply to find more about the issue.
I'm going to assume there are no downsides to this, so I don't see any reason to object.
Avoids macro expansion issues if Helm is not yet loaded.
Fixes issue in environment like NixOS. Fixes https://github.com/jacktasia/dumb-jump/issues/224