jetbrains: move to auto-generated plugins

Some edge cases but appears to work on my machine (TM).

Still TODO is setting up the job to generate and commit updates.
This commit is contained in:
2021-01-25 12:01:06 +11:00
parent 28235c3b29
commit ea98e965cb
5 changed files with 187 additions and 50 deletions

View File

@@ -55,7 +55,7 @@ rec {
# A functional Jetbrains IDE-with-plugins package set.
jetbrains = pkgs.dontRecurseIntoAttrs rec {
jetbrainsPluginsFor = variant: import ../top-level/jetbrains-plugins.nix {
inherit (pkgs) lib newScope stdenv fetchzip;
inherit (pkgs) lib newScope stdenv fetchzip makeWrapper runCommand;
inherit variant;
};

View File

@@ -2,6 +2,8 @@
, newScope
, stdenv
, fetchzip
, makeWrapper
, runCommand
, variant
}:
@@ -17,7 +19,7 @@ let
};
jetbrainsWithPlugins = import ../applications/editors/jetbrains/wrapper.nix {
inherit lib;
inherit lib makeWrapper runCommand;
};
in lib.makeScope newScope (self: lib.makeOverridable ({