2020-10-18 17:47:48 +11:00
|
|
|
{ lib
|
|
|
|
, newScope
|
|
|
|
, stdenv
|
|
|
|
, fetchzip
|
|
|
|
|
|
|
|
, variant
|
|
|
|
}:
|
|
|
|
|
|
|
|
let
|
|
|
|
|
|
|
|
mkJetbrainsPlugins = import ../applications/editors/jetbrains/common-plugins.nix {
|
|
|
|
inherit lib stdenv fetchzip;
|
|
|
|
};
|
|
|
|
|
|
|
|
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 {
|
|
|
|
inherit lib;
|
|
|
|
};
|
|
|
|
|
2022-10-26 10:50:59 +11:00
|
|
|
in
|
|
|
|
lib.makeScope newScope (self: lib.makeOverridable
|
|
|
|
({ jetbrainsPlugins ? mkJetbrainsPlugins self
|
|
|
|
, ideaPlugins ? mkIdeaPlugins self
|
|
|
|
}: ({ }
|
|
|
|
// jetbrainsPlugins // { inherit jetbrainsPlugins; }
|
|
|
|
// ideaPlugins // { inherit ideaPlugins; }
|
|
|
|
// {
|
2020-10-18 17:47:48 +11:00
|
|
|
inherit variant;
|
|
|
|
jetbrainsWithPlugins = jetbrainsWithPlugins self variant;
|
|
|
|
})
|
2022-10-26 10:50:59 +11:00
|
|
|
)
|
|
|
|
{ })
|