emacsPackages.jq-mode: patch in jq program
This commit is contained in:
@@ -1295,6 +1295,15 @@ let
|
||||
# https://github.com/fred-o/jekyll-modes/issues/6
|
||||
jekyll-modes = addPackageRequires super.jekyll-modes [ self.poly-markdown ];
|
||||
|
||||
jq-mode = super.jq-mode.overrideAttrs (attrs: {
|
||||
postPatch = attrs.postPatch or "" + ''
|
||||
substituteInPlace jq-mode.el \
|
||||
--replace-fail 'jq-interactive-command "jq"' 'jq-interactive-command "${lib.getExe pkgs.jq}"'
|
||||
substituteInPlace ob-jq.el \
|
||||
--replace-fail 'org-babel-jq-command "jq"' 'org-babel-jq-command "${lib.getExe pkgs.jq}"'
|
||||
'';
|
||||
});
|
||||
|
||||
jss = ignoreCompilationError super.jss; # elisp error
|
||||
|
||||
# missing optional dependencies: vterm or eat
|
||||
|
||||
Reference in New Issue
Block a user