eventstore: add meta.mainProgram

This commit is contained in:
Gautier DI FOLCO 2023-05-30 13:58:38 +02:00
parent 5e871d8aa6
commit e6bbace623
No known key found for this signature in database
GPG Key ID: F3EC32223456D01D

View File

@ -8,6 +8,9 @@
, stdenv , stdenv
, mono , mono
}: }:
let
mainProgram = "EventStore.ClusterNode";
in
buildDotnetModule rec { buildDotnetModule rec {
pname = "EventStore"; pname = "EventStore";
@ -31,7 +34,7 @@ buildDotnetModule rec {
runtimeDeps = [ mono ]; runtimeDeps = [ mono ];
executables = [ "EventStore.ClusterNode" ]; executables = [ mainProgram ];
# This test has a problem running on macOS # This test has a problem running on macOS
disabledTests = lib.optionals stdenv.isDarwin [ disabledTests = lib.optionals stdenv.isDarwin [
@ -87,5 +90,6 @@ buildDotnetModule rec {
license = licenses.bsd3; license = licenses.bsd3;
maintainers = with maintainers; [ puffnfresh mdarocha ]; maintainers = with maintainers; [ puffnfresh mdarocha ];
platforms = [ "x86_64-linux" "x86_64-darwin" ]; platforms = [ "x86_64-linux" "x86_64-darwin" ];
inherit mainProgram;
}; };
} }