about summary refs log tree commit diff
path: root/pkgs/applications/misc/wtf
diff options
context:
space:
mode:
authorClaudio Bley <claudio.bley@gmail.com>2022-07-05 17:31:00 +0200
committersuperherointj <5861043+superherointj@users.noreply.github.com>2022-07-05 13:49:05 -0300
commit097b70ec5c3aede047a2c3322933bf3c2fb075f5 (patch)
tree19192dc7880ce857fca15303c174657059de8c7d /pkgs/applications/misc/wtf
parent2f19bff1b14cf94472c871a164b10123c1d5115e (diff)
wtf: Set `meta.mainProgram` to "wtfutil"
This allows one to `nix run nixpkgs#wtf`.
Diffstat (limited to 'pkgs/applications/misc/wtf')
-rw-r--r--pkgs/applications/misc/wtf/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/applications/misc/wtf/default.nix b/pkgs/applications/misc/wtf/default.nix
index e29d58039a04a..0ba8c5a97ad9d 100644
--- a/pkgs/applications/misc/wtf/default.nix
+++ b/pkgs/applications/misc/wtf/default.nix
@@ -38,6 +38,7 @@ buildGoModule rec {
     changelog = "https://github.com/wtfutil/wtf/raw/v${version}/CHANGELOG.md";
     license = licenses.mpl20;
     maintainers = with maintainers; [ kalbasit ];
+    mainProgram = "wtfutil";
     platforms = platforms.linux ++ platforms.darwin;
     broken = stdenv.isDarwin;
   };