noisetorch: add meta.mainProgram

the `lib.getExe`'s feature to use the package's name as the binary is
deprecated, and `pkgs/README.md` says:
> `meta.mainProgram` must be set when appropriate.

This just adds the `meta.mainProgram` to `noisetorch` as it's the only
binary.
This commit is contained in:
Elijah M. Immer 2024-02-03 11:43:59 -08:00
parent ed89f4fb9c
commit 2a343855de

View file

@ -37,5 +37,6 @@ buildGoModule rec {
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ panaeon lom ];
mainProgram = "noisetorch";
};
}