wtf: Set meta.mainProgram to "wtfutil"

This allows one to `nix run nixpkgs#wtf`.
This commit is contained in:
Claudio Bley 2022-07-05 17:31:00 +02:00 committed by superherointj
parent 2f19bff1b1
commit 097b70ec5c

View File

@ -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;
};