jetbrains: add plugins to passthrough

This commit is contained in:
2020-10-18 18:06:49 +11:00
parent 7959b877d9
commit 9c4a68e3aa
2 changed files with 4 additions and 3 deletions

View File

@ -21,7 +21,8 @@ in
assert assertMsg (length badPlugins == 0) errorMsg;
appendToName "with-plugins" (package.overrideAttrs (oldAttrs: {
inherit plugins;
passthru = { inherit plugins; };
# TODO: Purely aesthetics, but link the plugin to its name instead of hash-name-version
installPhase = oldAttrs.installPhase + ''
for plugin in $plugins; do
ln -s "$plugin" "$out/$name/plugins/$(basename $plugin)"