nixpkgs/pkgs/applications
Daniel Gorin 550389392a kakoune: rework plugin support
The previous implementation of plugin-support for the kakoune derivation
was based on generating, at build time, a `plugins.kak` file that would
source all .kak files in the list of plugins, and wrap the `kak` binary
in a script that would add some command-line arguments so that this
file gets loaded on start-up. The main problem with this approach
is that the plugins' code get executed *after* the user's configuration
file is loaded, so effectively one cannot automatically activate/configure
these plugins.

The idiomatic way of loading plugins is ensuring they end up installed
somwhere under `share/kak/autoload`. Because plugins are already being
packaged to have their code in `share/kak/autoload/plugins/<name-of-plugin>`,
we can obtain a derivation that includes the plugins simply by doing a
`symlinkJoin` of `kakoune-unwrapped` and all the requested plugins.

For this to work, we need to fix two issues:

  1. By default, kakoune makes `share/kak/autoload` a symbolic link to
     `share/kak/rc`, which contains all builtin definitions. We need
     to patch this to put the symlink under `share/kak/autoload/rc`, so that
     the join works.

  2. By default kakoune expects the `autoload` directory to be in
     `../share/kak/autoload` relative to the location of the `kak` binary.
     We need to set the `KAKOUNE_RUNTIME` to point the symlinked
     share/kak for this to work.
2020-11-01 14:35:49 +00:00
..
accessibility
audio Merge pull request #101722 from r-ryantm/auto-update/opustags 2020-10-29 00:03:02 +01:00
backup vorta: Fix double wrapping 2020-10-08 18:57:24 +02:00
blockchains ledger-live-desktop: 2.14.0 -> 2.15.0 2020-10-30 21:17:18 +08:00
display-managers
editors kakoune: rework plugin support 2020-11-01 14:35:49 +00:00
gis Merge master into staging-next 2020-10-13 19:34:34 +02:00
graphics Merge pull request #101879 from sikmir/cloudcompare 2020-10-28 13:43:31 +01:00
kde kdeApplications.okteta: remove alias 2020-11-01 11:19:00 +01:00
logging/humioctl
misc Merge pull request #101369 from doronbehar/pkg/kdeApplications/qt515 2020-11-01 11:05:05 +01:00
networking Merge pull request #102328 from r-ryantm/auto-update/compactor 2020-11-01 07:08:57 -05:00
office zanshin: broken before the 20.08.2 upgrade 2020-10-30 22:34:02 +08:00
qubes/qubes-core-vchan-xen
radio fldigi: 4.1.14 -> 4.1.15 2020-10-29 20:15:50 -04:00
science Revert "coq: propagate and install ocaml and findlib" 2020-10-31 09:08:06 +01:00
search
system glances: add py-cpuinfo dependency 2020-10-25 10:45:20 +01:00
terminal-emulators Terminal emulators: whitespace cleanup and regroup 2020-10-28 22:28:32 -03:00
version-management Merge pull request #102310 from r-ryantm/auto-update/git-gone 2020-10-31 23:00:45 -05:00
video filebot: 4.9.1 -> 4.9.2 2020-11-01 11:56:06 +01:00
virtualization Merge pull request #101493 from Magicloud/vbox6116 2020-10-27 12:37:16 -04:00
window-managers i3status-rust: 0.14.1 -> 0.14.2 2020-10-31 10:34:23 +00:00