Skip to content

Commit 25c06da

Browse files
committedMar 21, 2025
emacsPackages.elfeed: patch in curl program path
1 parent fd7860a commit 25c06da

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
 

‎pkgs/applications/editors/emacs/elisp-packages/melpa-packages.nix

+7
Original file line numberDiff line numberDiff line change
@@ -1061,6 +1061,13 @@ let
10611061
# missing optional dependencies
10621062
ekg = addPackageRequires super.ekg [ self.denote ];
10631063

1064+
elfeed = super.elfeed.overrideAttrs (attrs: {
1065+
postPatch = attrs.postPatch or "" + ''
1066+
substituteInPlace elfeed-curl.el \
1067+
--replace-fail 'elfeed-curl-program-name "curl"' 'elfeed-curl-program-name "${lib.getExe pkgs.curl}"'
1068+
'';
1069+
});
1070+
10641071
elisp-sandbox = ignoreCompilationError super.elisp-sandbox; # elisp error
10651072

10661073
elnode = ignoreCompilationError super.elnode; # elisp error

0 commit comments

Comments
 (0)
Failed to load comments.