jetbrains: add mainPrograms
This commit is contained in:
parent
f6594d72ad
commit
87b65fa13f
1 changed files with 4 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
||||||
, vmopts ? null
|
, vmopts ? null
|
||||||
}:
|
}:
|
||||||
|
|
||||||
{ name, product, version, src, wmClass, jdk, meta, extraLdPath ? [] }:
|
{ name, product, version, src, wmClass, jdk, meta, extraLdPath ? [] }@args:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
|
|
||||||
|
@ -18,7 +18,9 @@ let loName = toLower product;
|
||||||
in
|
in
|
||||||
|
|
||||||
with stdenv; lib.makeOverridable mkDerivation rec {
|
with stdenv; lib.makeOverridable mkDerivation rec {
|
||||||
inherit name src meta;
|
inherit name src;
|
||||||
|
meta = args.meta // { mainProgram = execName; };
|
||||||
|
|
||||||
desktopItem = makeDesktopItem {
|
desktopItem = makeDesktopItem {
|
||||||
name = execName;
|
name = execName;
|
||||||
exec = execName;
|
exec = execName;
|
||||||
|
|
Loading…
Reference in a new issue