nixpkgs/pkgs/top-level
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
..
agda-packages.nix agda-packages: add fla library at v0.1 2020-10-15 10:54:22 -06:00
aliases.nix Merge pull request #101369 from doronbehar/pkg/kdeApplications/qt515 2020-11-01 11:05:05 +01:00
all-packages.nix kakoune: rework plugin support 2020-11-01 14:35:49 +00:00
beam-packages.nix elixir_1_11: init at 1.11.0 2020-10-07 10:30:35 +02:00
config.nix
coq-packages.nix coqPackages.VST: init at 2.6 2020-10-05 16:39:26 +02:00
darwin-packages.nix discrete-scroll: init at 0.1.1 2020-08-27 13:47:08 +03:00
default.nix top-level: ignore unexpected args 2020-10-01 11:21:32 -07:00
dhall-packages.nix Nixpkgs support for dhall-to-nixpkgs 2020-06-17 15:57:21 +02:00
dotnet-packages.nix dafny: use pinned z3 in the full closure 2020-10-24 22:24:40 +02:00
emacs-packages.nix emacs-packages: Expose manually packaged packages through emacsPackages.manualPackages 2020-04-27 12:08:13 +01:00
emscripten-packages.nix
haskell-packages.nix ghc: add alpha-1 release of version 9.0.1 2020-09-29 12:06:53 +02:00
haxe-packages.nix
impure.nix Revert "top-level: fix nix-shell eval w/nixUnstable" 2020-10-01 11:21:06 -07:00
java-packages.nix javaPackages: add upgraded packages 2020-10-22 10:11:36 +09:00
lua-packages.nix lyaml: init at 6.2.5-1, update all generated packages 2020-06-06 18:45:57 +02:00
make-tarball.nix Don't set $NIX_DB_DIR 2020-08-24 18:50:20 +02:00
metrics.nix Don't set $NIX_DB_DIR 2020-08-24 18:50:20 +02:00
ocaml-packages.nix ocamlPackages.mirage-block: init at 2.0.1 2020-10-27 22:00:51 +01:00
packages-config.nix Add packages.json to the tarball job 2020-03-24 16:42:00 +01:00
perl-packages.nix Merge pull request #102071 from zakame/contrib/perl-NetAsyncWebSocket 2020-10-30 16:43:05 +00:00
php-packages.nix php: Drop usage of isPhp73 and isPhp74 2020-10-11 20:10:58 +02:00
pure-packages.nix octaveHg: drop 2020-02-09 19:24:18 +01:00
python-packages.nix pythonPackages.toolz: create Python 2 package 2020-10-31 09:55:25 -07:00
release-alternatives.nix blas,lapack: use isILP64 instead of is64bit 2020-04-20 16:02:43 -05:00
release-cross.nix release*: Support nixpkgsArgs for all release-*.nix files 2020-09-11 18:22:01 +02:00
release-lib.nix release-lib: Avoid filtering twice 2020-06-12 15:23:21 -04:00
release-python.nix release*: Support nixpkgsArgs for all release-*.nix files 2020-09-11 18:22:01 +02:00
release-small.nix release*: Support nixpkgsArgs for all release-*.nix files 2020-09-11 18:22:01 +02:00
release.nix Disable the metrics job 2020-10-27 17:05:35 +01:00
ruby-packages.nix rubyPackages: update 2020-02-09 09:18:47 +01:00
splice.nix
stage.nix Distinguish pkgsStatic from pkgsMusl via stdenv.targetPlatform 2020-08-27 18:36:34 -04:00
static.nix Merge pull request #86223 from pikajude/darwin-static-eval 2020-09-30 23:44:18 +02:00
unix-tools.nix treewide/nixos: use stdenv.cc.libc instead of glibc when available 2020-04-06 16:36:27 -04:00
wine-packages.nix