git.iko.soy/typeable/nixpkgs
on master help sign in
jetbrains: add mainPrograms
commit87b65fa13fabb1a3d895d8d0b0185bf2a556951e authorAtemu <atemu.main@gmail.com> dateThu 3 Jun 2021, 14:24 (5 years ago) parentf6594d7
1 file changed+4−2
pkgs/applications/editors/jetbrains/common.nix+4−2
pkgs/applications/editors/jetbrains/common.nix+4−2
@@ -3,7 +3,7 @@
33, vmopts ? null
44}:
55
6−{ name, product, version, src, wmClass, jdk, meta, extraLdPath ? [] }:
6+{ name, product, version, src, wmClass, jdk, meta, extraLdPath ? [] }@args:
77
88with lib;
99
@@ -18,7 +18,9 @@ let loName = toLower product;
1818in
1919
2020with stdenv; lib.makeOverridable mkDerivation rec {
21− inherit name src meta;
21+ inherit name src;
22+ meta = args.meta // { mainProgram = execName; };
23+
2224 desktopItem = makeDesktopItem {
2325 name = execName;
2426 exec = execName;