2020-10-18 17:47:48 +11:00
|
|
|
{ lib
|
|
|
|
, newScope
|
|
|
|
, stdenv
|
|
|
|
, fetchzip
|
2021-01-25 12:01:06 +11:00
|
|
|
, makeWrapper
|
|
|
|
, runCommand
|
2020-10-18 17:47:48 +11:00
|
|
|
|
|
|
|
, variant
|
|
|
|
}:
|
|
|
|
|
|
|
|
let
|
|
|
|
|
|
|
|
mkIdeaPlugins = import ../applications/editors/jetbrains/idea-plugins.nix {
|
2020-12-09 10:35:02 +11:00
|
|
|
inherit lib stdenv fetchzip;
|
2020-10-18 17:47:48 +11:00
|
|
|
};
|
|
|
|
|
|
|
|
jetbrainsWithPlugins = import ../applications/editors/jetbrains/wrapper.nix {
|
2021-01-25 12:01:06 +11:00
|
|
|
inherit lib makeWrapper runCommand;
|
2020-10-18 17:47:48 +11:00
|
|
|
};
|
|
|
|
|
|
|
|
in lib.makeScope newScope (self: lib.makeOverridable ({
|
2021-01-25 12:05:18 +11:00
|
|
|
ideaPlugins ? mkIdeaPlugins self
|
2020-10-18 17:47:48 +11:00
|
|
|
}: ({ }
|
|
|
|
// ideaPlugins // { inherit ideaPlugins; }
|
|
|
|
// {
|
|
|
|
inherit variant;
|
|
|
|
jetbrainsWithPlugins = jetbrainsWithPlugins self variant;
|
|
|
|
})
|
|
|
|
) { })
|