soft-serve: set meta.mainProgram to "soft"

This allows `nix run nixpkgs#soft-serve` to function, as ordinarily it would attempt to run `soft-serve`, which isn't present in the `bin` of the output.
This commit is contained in:
Infinidoge 2022-02-01 13:18:26 -05:00 committed by GitHub
parent 1705882eb6
commit 0d562a22d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,6 +27,7 @@ buildGoModule rec {
meta = with lib; {
description = "A tasty, self-hosted Git server for the command line";
homepage = "https://github.com/charmbracelet/soft-serve";
mainProgram = "soft";
license = licenses.mit;
maintainers = with maintainers; [ penguwin ];
};