From 0d562a22d2213fb67d6e7482491e33c0f561c530 Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Tue, 1 Feb 2022 13:18:26 -0500 Subject: [PATCH] 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. --- pkgs/servers/soft-serve/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/servers/soft-serve/default.nix b/pkgs/servers/soft-serve/default.nix index 5b57ca27049f..3c169d6f1254 100644 --- a/pkgs/servers/soft-serve/default.nix +++ b/pkgs/servers/soft-serve/default.nix @@ -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 ]; };