File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
pkgs/applications/editors/emacs/elisp-packages Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -1302,6 +1302,15 @@ let
13021302 # https://github.com/fred-o/jekyll-modes/issues/6
13031303 jekyll-modes = addPackageRequires super . jekyll-modes [ self . poly-markdown ] ;
13041304
1305+ jq-mode = super . jq-mode . overrideAttrs ( attrs : {
1306+ postPatch = attrs . postPatch or "" + ''
1307+ substituteInPlace jq-mode.el \
1308+ --replace-fail 'jq-interactive-command "jq"' 'jq-interactive-command "${ lib . getExe pkgs . jq } "'
1309+ substituteInPlace ob-jq.el \
1310+ --replace-fail 'org-babel-jq-command "jq"' 'org-babel-jq-command "${ lib . getExe pkgs . jq } "'
1311+ '' ;
1312+ } ) ;
1313+
13051314 jss = ignoreCompilationError super . jss ; # elisp error
13061315
13071316 # missing optional dependencies: vterm or eat
You can’t perform that action at this time.
0 commit comments