Merge pull request #235019 from blackheaven/eventstore/mainProgram

eventstore: add meta.mainProgram
This commit is contained in:
Domen Kožar 2023-07-10 15:14:48 +01:00 committed by GitHub
commit fb8cc2484e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 [
@ -76,5 +79,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;
}; };
} }