3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request from nagy/emacs-wordnut

emacsPackages.wordnut: patch in wordnet executable
This commit is contained in:
adisbladis 2022-10-17 22:21:54 +13:00 committed by GitHub
commit 5486e9cd2a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -554,6 +554,13 @@ let
});
});
wordnut = super.wordnut.overrideAttrs (attrs: {
postPatch = attrs.postPatch or "" + ''
substituteInPlace wordnut.el \
--replace 'wordnut-cmd "wn"' 'wordnut-cmd "${lib.getExe pkgs.wordnet}"'
'';
});
mozc = super.mozc.overrideAttrs (attrs: {
postPatch = attrs.postPatch or "" + ''
substituteInPlace src/unix/emacs/mozc.el \