2020-10-19 19:11:26 +11:00
|
|
|
{ lib, stdenv, variant }:
|
2020-10-18 17:47:48 +11:00
|
|
|
|
|
|
|
self:
|
|
|
|
|
2020-10-15 19:05:13 +11:00
|
|
|
let
|
2020-10-18 17:47:48 +11:00
|
|
|
|
|
|
|
ideaBuild = import ../../../build-support/jetbrains/plugin.nix {
|
2020-10-19 19:11:26 +11:00
|
|
|
inherit lib stdenv variant;
|
2020-10-15 19:05:13 +11:00
|
|
|
jetbrainsPlatforms = [ "idea-community" "idea-ultimate" ];
|
|
|
|
};
|
2020-10-18 17:47:48 +11:00
|
|
|
|
|
|
|
generateIdea = lib.makeOverridable ({
|
2020-10-19 19:11:26 +11:00
|
|
|
generated ? ./idea-generated.nix
|
2020-10-18 17:47:48 +11:00
|
|
|
}: let
|
|
|
|
|
2020-10-19 19:11:26 +11:00
|
|
|
imported = import generated {
|
2020-10-18 17:47:48 +11:00
|
|
|
inherit (self) callPackage;
|
|
|
|
};
|
|
|
|
|
|
|
|
super = imported;
|
|
|
|
|
|
|
|
overrides = { };
|
|
|
|
|
|
|
|
ideaPlugins = super // overrides;
|
|
|
|
|
|
|
|
in ideaPlugins // { inherit ideaBuild; });
|
|
|
|
|
|
|
|
in generateIdea { }
|