From e6bbace6236aa6b3cda1df667b19d7d1ec2e18b0 Mon Sep 17 00:00:00 2001 From: Gautier DI FOLCO Date: Tue, 30 May 2023 13:58:38 +0200 Subject: [PATCH] eventstore: add meta.mainProgram --- pkgs/servers/nosql/eventstore/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/servers/nosql/eventstore/default.nix b/pkgs/servers/nosql/eventstore/default.nix index 9d0d89ecd71b..1fc8587e7df5 100644 --- a/pkgs/servers/nosql/eventstore/default.nix +++ b/pkgs/servers/nosql/eventstore/default.nix @@ -8,6 +8,9 @@ , stdenv , mono }: +let + mainProgram = "EventStore.ClusterNode"; +in buildDotnetModule rec { pname = "EventStore"; @@ -31,7 +34,7 @@ buildDotnetModule rec { runtimeDeps = [ mono ]; - executables = [ "EventStore.ClusterNode" ]; + executables = [ mainProgram ]; # This test has a problem running on macOS disabledTests = lib.optionals stdenv.isDarwin [ @@ -87,5 +90,6 @@ buildDotnetModule rec { license = licenses.bsd3; maintainers = with maintainers; [ puffnfresh mdarocha ]; platforms = [ "x86_64-linux" "x86_64-darwin" ]; + inherit mainProgram; }; }