about summary refs log tree commit diff
path: root/pkgs/applications/audio/noisetorch
diff options
context:
space:
mode:
authorElijah M. Immer <me@eimmer.me>2024-02-03 11:43:59 -0800
committerElijah M. Immer <me@eimmer.me>2024-02-03 11:43:59 -0800
commit2a343855de6d1225800c6cb0eb4c312b5c430fc2 (patch)
tree7f2816417e2537e4a04bc65d98ebc5ab99e5f01b /pkgs/applications/audio/noisetorch
parented89f4fb9ccb65831e04442cca35037dea46a67d (diff)
downloadnixlib-2a343855de6d1225800c6cb0eb4c312b5c430fc2.tar
nixlib-2a343855de6d1225800c6cb0eb4c312b5c430fc2.tar.gz
nixlib-2a343855de6d1225800c6cb0eb4c312b5c430fc2.tar.bz2
nixlib-2a343855de6d1225800c6cb0eb4c312b5c430fc2.tar.lz
nixlib-2a343855de6d1225800c6cb0eb4c312b5c430fc2.tar.xz
nixlib-2a343855de6d1225800c6cb0eb4c312b5c430fc2.tar.zst
nixlib-2a343855de6d1225800c6cb0eb4c312b5c430fc2.zip
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.
Diffstat (limited to 'pkgs/applications/audio/noisetorch')
-rw-r--r--pkgs/applications/audio/noisetorch/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/applications/audio/noisetorch/default.nix b/pkgs/applications/audio/noisetorch/default.nix
index 51b565bc3e74..78f50cbbedbc 100644
--- a/pkgs/applications/audio/noisetorch/default.nix
+++ b/pkgs/applications/audio/noisetorch/default.nix
@@ -37,5 +37,6 @@ buildGoModule rec {
     license = licenses.gpl3Plus;
     platforms = platforms.linux;
     maintainers = with maintainers; [ panaeon lom ];
+    mainProgram = "noisetorch";
   };
 }