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