diff options
| author | Lin Jian <me@linj.tech> | 2024-09-20 08:55:10 +0800 |
|---|---|---|
| committer | Lin Jian <me@linj.tech> | 2024-09-20 15:19:45 +0800 |
| commit | 4092c0d8507cea3068cf7ad2c58e8d1d2a3cb676 (patch) | |
| tree | 9927b534f7d646ef51707bb0b60e52a61c002953 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | 3e895f524013ffc90cc1f3e27225c7b5bb1c331c (diff) | |
emacs: make trivialBuild know its elisp dependencies in another way
Previously, trivialBuild did not know how to find its elisp
dependencies. This was[1] fixed[2] by basically rewriting part of
package-activate-all in bash.
I think it is better to call package-activate-all (or
package-initialize if Emacs is old) directly. It reduces maintenance
burden a bit. It also improves consistency since elpaBuild and
melpaBuild already do so.
This change provides almost the same functionality as before. It only
breaks elisp packages with non-standard[^3] elisp dependencies.
However, I think those non-standard ones should be fixed instead.
As an example, mu4e used to be a non-standard one and was fixed[4].
This change does not cause more build failures in emacsPackages.
[1]: https://github.com/NixOS/nixpkgs/pull/82604
[2]: https://github.com/NixOS/nixpkgs/commit/bf486f784ddd969c03243dba4c93d0e8e861173e
[^3]: Non-standard elisp packages do not meet requirements of
package.el, the builtin package manager of Emacs. Usually, they are
installed to $out/share/emacs/site-lisp/$pname-$version and/or miss a
$pname-pkg.el file.
[4]: https://github.com/NixOS/nixpkgs/pull/253438
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
