Unverified Commit b16799b9 authored by Ivan Kovnatsky's avatar Ivan Kovnatsky
Browse files

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".
```
parent a18cc672
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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