2020-12-09 10:35:02 +11:00
|
|
|
{ lib, stdenv, fetchzip }:
|
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-12-09 10:35:02 +11:00
|
|
|
inherit lib stdenv fetchzip;
|
2020-10-15 19:05:13 +11:00
|
|
|
jetbrainsPlatforms = [ "idea-community" "idea-ultimate" ];
|
|
|
|
};
|
2020-10-18 17:47:48 +11:00
|
|
|
|
2022-10-26 10:50:59 +11:00
|
|
|
generateIdea = lib.makeOverridable (
|
|
|
|
{ idea ? ./manual-idea-packages.nix
|
|
|
|
}:
|
|
|
|
let
|
2020-10-18 17:47:48 +11:00
|
|
|
|
2022-10-26 10:50:59 +11:00
|
|
|
imported = import idea {
|
|
|
|
inherit (self) callPackage;
|
|
|
|
};
|
2020-10-18 17:47:48 +11:00
|
|
|
|
2022-10-26 10:50:59 +11:00
|
|
|
super = imported;
|
2020-10-18 17:47:48 +11:00
|
|
|
|
2022-10-26 10:50:59 +11:00
|
|
|
overrides = { };
|
2020-10-18 17:47:48 +11:00
|
|
|
|
2022-10-26 10:50:59 +11:00
|
|
|
ideaPlugins = super // overrides;
|
2020-10-18 17:47:48 +11:00
|
|
|
|
2022-10-26 10:50:59 +11:00
|
|
|
in
|
|
|
|
ideaPlugins // { inherit ideaBuild; }
|
|
|
|
);
|
2020-10-18 17:47:48 +11:00
|
|
|
|
2022-10-26 10:50:59 +11:00
|
|
|
in
|
|
|
|
generateIdea { }
|
2020-12-09 10:35:02 +11:00
|
|
|
|