netdata: add mainProgram

```console
evaluation warning: getExe: Package "netdata-1.47.5" does not have the meta.mainProgram attribute. We'll assume that the main program has the same name for now, but this behavior is deprecated, because it leads to surprising errors when the assumption does not hold. If the package has a main program, please set `meta.mainProgram` in its definition to make this warning go away. Otherwise, if the package does not have a main program, or if you don't control its definition, use getExe' to specify the name to the program, such as lib.getExe' foo "bar".
```
This commit is contained in:
Ivan Kovnatsky
2025-04-10 17:09:22 +03:00
parent a18cc672cd
commit b16799b957
+1
View File
@@ -287,6 +287,7 @@ stdenv'.mkDerivation (finalAttrs: {
homepage = "https://www.netdata.cloud/";
changelog = "https://github.com/netdata/netdata/releases/tag/v${version}";
license = [ licenses.gpl3Plus ] ++ lib.optionals (withCloudUi) [ licenses.ncul1 ];
mainProgram = "netdata";
platforms = platforms.unix;
maintainers = with maintainers; [
mkg20001