emacsPackages.elfeed: patch in curl program path

This commit is contained in:
Daniel Nagy 2025-03-16 14:45:00 +01:00
parent fd7860ac7d
commit 25c06daf85
No known key found for this signature in database

View file

@ -1061,6 +1061,13 @@ let
# missing optional dependencies
ekg = addPackageRequires super.ekg [ self.denote ];
elfeed = super.elfeed.overrideAttrs (attrs: {
postPatch = attrs.postPatch or "" + ''
substituteInPlace elfeed-curl.el \
--replace-fail 'elfeed-curl-program-name "curl"' 'elfeed-curl-program-name "${lib.getExe pkgs.curl}"'
'';
});
elisp-sandbox = ignoreCompilationError super.elisp-sandbox; # elisp error
elnode = ignoreCompilationError super.elnode; # elisp error